You haven't thought your position through because the genital inspection panels are only brought together once an allegation is made.
And what is the allegation? That some kid used the wrong bathroom because his parents colluded with the kid's doctor to assign a certain gender to the kid on the paper work which lets them use the bathroom they want to use.
So the kid's medical records say one gender, but any anonymous person has the ability to question that with this law, and simply questioning it will compel the state to mandate that kid strip themselves naked in front of some random perv.
Because only a perv would want to spend their days looking at naked kids.
I'd think the girls in the shower room can tell them apart.