Trans women are legally entitled In woman’s bathrooms. Joyce is wrong about the EA2010.
All public sector bodies, including the NHS, follow the law.
Managers do not have to sympathise with racists, homophobes or transphobes.
Religious and pseudo-religious beliefs do not undermine these rights. If your religion says you can’t share a bathroom with someone with another protected characteristic who is permitted to be there, then a reasonable accommodation can be made (you can use a single occupancy loo, for example.)
If anyone (regardless of gender) looks under a cubicle, exposes themselves, or harasses someone just going about their business, call security or the police.