I'm not a lawyer. But I can't really see that either NHS Fife or Dr U have a leg to stand on. They implemented an illegal policy of allowing a man into the women's changing room, and then punished the woman who complained about it. Their rationale seems to be that she was harassing Dr U, but from Dr U's own testimony, the harassment largely seemed to constitute of not making eye contact, or leaving the changing room when he was in it. Knowing what hospitals are like, it's really hard to see how that meets the level of harassment.
There were also charges that Sandie had put patients at risk, if I've understood correctly, but these seem incredibly flimsy and implausible.
Finally, there is the issue of the missing documents: NHS Fife are now on the back foot because it seems they didn't disclose all relevant documents to the tribunal. Sandie's lawyer has implied that the missing emails will reveal that the hospital, having failed to find anything material in its investigation of Sandie, then colluded with Dr U to invent the patient safety charges. If this is true, which would be extraordinary, then it will be absolutely catastrophic for the hospital and Dr U.
But of course, who knows how the minds of tribunal judges work? After the infamous ET of Maya Forstater, which found her beliefs were not worthy of respect in a democratic society, anything could happen.