A lawyer acting for the Scottish Government has told the Supreme Court that a person with a gender recognition certificate (GRC) is “recognised in law” as having changed sex.