The Supreme Court has been told that a trans person with a gender recognition certificate is ‘recognised in law’ as having changed sex.