Well if she didn't know the law she could have sought advice, eg from the Trust's lawyer - and maybe she did and they will be on the hook not her, we don't know. If they'd misinformed her of the law, they're now in trouble and she's in the clear.It doesn't seem like she knew the law or checked what it was though. I do know how pervasive gender ideology is in the NHS , I work in a captured Trust. But she perpetuated the harms in her role, ok 'just following orders' gets you so far, but she was in a position of responsibility and was part of giving the orders.
She could have spent her days implementing reasonable adjustments in job interviews for dyslexics, or writing policies for how to support staff fasting during Ramadan, or any number of DEI interventions which could actually have promoted DEI. Maybe she did, I don't know. But what I'm saying is, she could have covered her own arse on this, and because she didn't she's now in the firing line. Whether she's a true believer or a useful idiot she still has to take responsibility for things she did as part of her job role. If your job involves knowing and implementing the law, you need to do that, not assume what other people say is true is actually true. A nurse making an equivalent level of mistake would probably be struck off.