Two gay asylum seekers in Britain who said they faced persecution over their sexuality if they were sent home have won Supreme Court appeals against their deportations.
The men, identified only as 'J' from Iran and 'T' from Cameroon, had been refused asylum on the grounds that they could avoid ill-treatment by behaving discreetly or keeping their sexuality secret in their native countries.
But the Supreme Court said that ruling went against the Convention on the Status of Refugees, and sent their cases back to the lower Court of Appeal to be reassessed in the light of its verdict.
Home secretary Theresa May has welcomed the ruling.
"We have already promised to stop the removal of asylum seekers who have had to leave particular countries because their sexual orientation or gender identification puts them at proven risk of imprisonment, torture or execution," the interior minister said.
"I do not believe it is acceptable to send people home and expect them to hide their sexuality to avoid persecution."
'T' said he was attacked by a mob after being seen kissing a male partner in Cameroon.
'J', from Iran, was told in the original ruling that he could be expected to tolerate conditions arising from his relationship and should behave discreetly to avoid reprisals.
Punishment for homosexual acts ranges from public flogging to execution in Iran.
In Cameroon, jail sentences for homosexuality range from six months to five years.
The Convention on the Status of Refugees provides that people are entitled to asylum if they can establish that they would face a well-founded fear of persecution if they returned home.