A few years ago I worked in Mississippi, which is always the lead engine on the Bad Idea Train. They proposed school bathroom bills.
And genital checks were EXACTLY what they wanted: anyone who was questioned would have to be "inspected for compliance" by a teacher or a cop.
Of course the goal wasn't to check every kid, just to intimidate the trans kids so they didn't even try.