But this is the whole point. This is what the political lobby mean by respecting trans rights.
Any male person, can be in any female space, at any time, with any agenda, and the female people in that space have no right to resist up to the point that that male person chooses to abuse their body to an extent that may possibly stand up in a court of law after that female has been harmed. And since in the UK a full blown rape has around a 1% chance of ending in prosecution and will be hell on earth for the female person to go through the legal process of? In reality, nothing will happen.
Or at this point female people stand up and say that as a class group they also have rights, which are not compatible with the above, that female people are not subordinate members of the human race, and that single sex spaces must be provided and gate kept for female people alongside mixed sex provisions.
Considering if a female person is raped or assaulted in the UK they can expect (after all the distressing invasive physical examinations and evidence giving and if CPS will take it to court) for the defense to challenge them in detail on what they were wearing, where they were, and to what extend they can take responsibility for the male's decision to make use of their biology against their will, it is logical that the next step will be to say to a woman in court, "You knew male people are in this situation where you and they are naked and in an enclosed space, didn't you by choosing to put yourself there put yourself knowingly at risk?"