+1
AFAIK the ability to put "Apps With Screen Time Access" behind a Screen Time Passcode is a new thing since iOS 26.4 (?). I'm currently on iOS 26.5 Beta 2 and this particular part works fine (it presents Screen Time passcode when trying to disable an apps Screen Time access).
However, the introduction of this introduced a similar bug where if you access the apps settings (not Screen Time settings), you can circumvent the Screen Time Passcode by using the "Screen Time Restrictions" toggle. FB22463959 is feedback number.
The feedback for Apple is actually relatively simple (politics aside): just don't show the "Screen Time Restrictions" toggle in apps settings. This is how it actually was before. This is just a typical engineering/product issue where introducing new features introduces more bugs. Keeping it simple == less bugs (now and in the future).