The government must urgently cover the costs of modifying police cells and prisons to accommodate intersex persons who may come into conflict with the law, a High Court ruling has stated.

This follows a distressing case involving a Kenyan athlete now identifying as a woman, who endured harsh treatment at the hands of police officers and hospital medics.

Justice Reuben Nyakundi ruled that the government cannot ignore the reality of individuals identifying as a 'third gender' being confined in holding cells or prisons designated strictly for either males or females.

He directed the Attorney General to initiate amendments to Part Six of the Prisons Act to include provisions for intersex persons.