My school has blocks of single sex toilets and gender neutral ones. Fully enclosed, floor to ceiling doors, that open onto a corridor with CCTV and a member of staff on duty at break/lunch.
I’ve heard lots of complaints about school toilets and I’ve never heard any complaints about the existence of, or the nature of the gender neutral ones, which seem to be well used by both sexes. Some pupils may well avoid them, but they have other toilets they can use.
The fact that they exist seems to have meant there are no issues about trans students and toilets because they can be just directed towards the gender neutral ones if they don’t want to use their own sex toilets. As loads of pupils use them, it doesn’t single them out either.
I would agree that their existence is a reasonable solution to the toilet issue.