You completely miss the point then and one of the bonkers effects of trying to replace sex with gender in law.
I'll give you an example so it makes sense:
In law, the equality act is about treating people equally and to protect them from harms. It is not about thoughts and feelings.
A doctor NEEDS to treat a patient on the basis of sex not gender. If a doctor is forced to treat a patient on the basis of gender it creates an issue.
If gender replaces sex, legally if someone has changed gender, if the doctor recognises this, they would not be able to say anything. They would legally have to treat them equally with someone of the same gender. If they don't they are legally vulnerable to acting unlawfully under existing legislation. This creates a problem because if they do that they may do harm or simply be unable to treat them. This legally opens them up to a potential negligence claim.
Therefore as it stands doctors are in a damned if they do and damned if they don't scenario if the court had ruled differently. And this would have put trans people (not women) at risk of harm. This is because sex remains relevant at all times to those who have transitioned whether they want to admit it or not.
The ruling was about clarifying the law and what the intentions of the law were when it was written. It's plainly absurd to suggest that biological sex wasn't observed and recognised as being biological sex and separate from gender at the time the Act was written. This was 2010. It wasn't written by a far right government. It was written by a progressive government wanting equal and fair treatment for everyone.
The Act wrote exemptions in because it recognised that women had human rights to privacy and dignity (as written in law under the human rights act). This also protected women's sport. These rights were recognised and established.
However the law also still protected trans people - it is just not been properly understood and properly carried out. There is still a requirement for trans peoples privacy and dignity to be respected and upheld but how this is done must be through other solutions and not at the expense of the privacy and dignity of women.
The other telling exemption within the act was the recognition that sex could always be seen in transmen - this prevented them from inheritance titles if they transitioned. The reverse was not true for transwomen - they would not lose a title if they transitioned.
If sex had been replaced by gender, it would also mean that lesbians and gay men would have lost their same sex protections under law. Worse still in certain scenarios they would have risked been criminalised if they rejected someone on the basis of being of the opposite sex. This would have been a massive regression of homosexual rights.
What we have seen in the last 15 years is an erosion of this and a neglect for upholding women's rights in this area. And women smeared and attacked for trying to uphold their existing legal rights.
There is nothing Trumpian here in this ruling. This is pure old fashioned liberalism which has been poorly understood by people who don't understand that legal definitions are hugely important and the ruling is neutral politically.
Trans people in various ways, actually have their rights solidified and protected better due to this ruling. The area they have 'lost' in (they haven't - they've never had this right and have been acting unlawfully) is in access to single spaces. This highlights another problem. One of over reach and how they didn't want equality but they wanted the use of women (with or without consent) to validate their identity. This is not ok because it came at the expense of women in many ways and made them second class.
This ruling does not make trans people second class. It protects them and it means others solutions need to be found but it doesn't make them less equal.
This has been misrepresented hugely by the media for a number of years and this is appalling. At best it's legal illiteracy but at worse it's the deliberate attempt to undermine the law, remove the existing legal protections women have and to misrepresent this all whilst blaming women for being not accepting enough. This is no ok. It is sexist, it harms women, it harms gay people, it harms certain religious groups and ironically it harms transpeople.