MOMBASA, KENYA: A Kenyan court has upheld the use of anal examinations to determine a suspect's sexual orientation. Mombasa High Court Judge Mathew Emukule said Thursday he found no violation of rights or the law and dismissed the petition.

Two men had sought a court ruling to stop enforced anal examinations and HIV tests of men accused of being gay after they were subjected to the procedures. The two were arrested in a bar near Ukunda along Kenya's Indian Ocean coast in February 2015 on suspicion of engaging in gay sex, which is a criminal offense in Kenya.

In their petition, they said the anal examinations and HIV and hepatitis B tests they were forced to have amounted to being subjected to torture and degrading treatment.-AP