The ruling means that a transgender person with a certificate that recognizes them as female should not be considered a woman for equality purposes, but the court added that its ruling “does not remove protection from trans people” against discrimination.