The Supreme Court has ruled that “sex” must be construed so as to include sexual desires and gender self-identity.