The Kenyan law does not allow people to change their sex in adulthood, the government says.
Attorney General Dorcas Oduor says a person is born either a boy or girl and cannot change the sex after growing up.
In her submissions before the High Court, in a case where three persons were seeking new birth certificates to recognise their transgender status, the government's legal advisor argued that naming and issuance of a birth certificate is based solely on physical appearance.
Ms Oduor urged High Court Judge Bahati Mwamuye to dismiss the case saying the psychological feeling of a man or woman of being trapped in the wrong body cannot be a basis for changing one's gender to either male or female. "The existing laws of the land do not contemplate change of gender and marks of transgender are not a basis for determining one's gender as either male or female.