She conceded that it depends how you disagree.
However, as she had been told that Dr Upton had a right to use the changing room, I think from her POV his sex was irrelevant, so any mention of it was offensive.
What isn't clear yet is whether/when anyone further up the chain queried any of this with NHS legal
https://www.nss.nhs.scot/browse/legal/employment
(I assume they are involved now, and that this will be addressed in July).