Please see the highlighted paragraph at the very start of the judgement. The judgement was about how to interpret certain words in the context of the EA 2010. They were not making judgements about what biological sex means, what gender means or how policy should be organised. That is not the role of courts. They are not scientists and they are not government. The role of the SC was to interpret the meaning of the words in the specific statute as it was written. Thats all. The end.