As Michael Foran pointed out, they have gotten themselves into a quandary by running her disciplinary process parallel to the case. If they exonerate her, then they will be directly contradicting what their barrister is arguing in court.
And if they don't exonerate her, then Sandie can argue that it wasn't a fair process because they have already argued in court that she is guilty and then she can sue them again. Assuming it is JKR that is backing her, money won't be an issue in this respect.
It will be interesting to see what is made of this in court next week, as it sounds as if NHS Fife have really cocked up here, and there is the whole debacle of the investigation being started and then abandoned before being picked up again. There is also the fact that they didn't conduct an equality impact assessment when they effectively designated the female changing rooms mixed sex, after taking advice from an inexperienced EDI lead rather than from anyone with legal knowledge. And then you have Dr. Kate Searle taking sides and immediately backing Upton and casting Sandie as the harasser before the investigation had even begun.
They have treated her so shoddily and have really messed up in terms of following proper procedures.