The transphobic activist group whose complaint led to this ruling was attacking the Scottish government for their decision to include trans women in public employment parity measures.
The UK Supreme Court ruled in their favor, stating that the Equality Act 2010 must exclude trans women, as it relates to issues such as maternity and pregnancy.