A logic issue was addressed with improved restrictions. This issue is fixed in macOS Monterey 12.6.8, iOS 15.7.8 and iPadOS 15.7.8, iOS 16.6 and iPadOS 16.6, macOS Ventura 13.5, watchOS 9.6. An app may be able to read sensitive location information.
https://support.apple.com/en-us/HT213848
https://support.apple.com/en-us/HT213844
https://support.apple.com/en-us/HT213843