It came during a legal challenge by For Women Scotland over whether trans women can be regarded as female for the purposes of the Equality Act.