This cause concerned positive discrimination and whether a trans woman appointed to a position with a gender quota would count as a woman. The court said no.
It might be taken to imply that a trans man appointed to a similar position also would not count as a man, but much of the reasoning in the written decision considers only trans women. Maybe a trans man would count as a man if the cause were fought again: stranger things have happened in British law.