The Netherlands' highest court on Tuesday rejected a gay Iranian's last-ditch appeal to avoid deportation to Britain, where he fears authorities will send him back to Tehran and possible execution.

Mehdi Kazemi, 19, traveled to Britain to study in 2005 and applied there for asylum after learning that his male lover in Iran had been executed for sodomy. After British authorities rejected Kazemi's application, he fled and applied for asylum in the Netherlands.

Upholding a ruling by the Dutch government, the Council of State said Britain is responsible for Kazemi's case because he applied for asylum there first. European Union rules say the member state where an asylum seeker first enters the bloc is responsible for processing that person's claim.

Kazemi's case has generated attention for the plight of homosexuals in Iran, but also for differences in the way EU countries deal with asylum seekers.

Gay rights campaigner Rene van Soeren said Kazemi's lawyer was considering an appeal to the European Court of Human Rights. The lawyer, Borg Palm, did not immediately return calls seeking comment.

Boris van der Ham, a lawmaker who has taken up Kazemi's cause, has appealed to the government to lobby British authorities on Kazemi's behalf.

"There should be some political leadership," he said in a telephone interview. "I hope in Britain they will do it, and otherwise we should take the boy."

Because of Iran's persecution of homosexuals, the Netherlands typically relaxes its tough asylum rules when considering applications by gay Iranians — virtually guaranteeing asylum to any who apply here.

However, because Kazemi had already applied for asylum in Britain and been rejected, the Dutch government refused to consider his case, insisting he return to Britain.

Britain's Home Office has declined comment, saying it does not discuss individual asylum applications.

However, Britain's Border and Immigration Agency has issued a statement that could give Kazemi hope: "We examine with great care each individual case before removal and we will not remove anyone who we believe is at risk on their return."

Matteo Pegoraro, president of the Italian-based gay rights group EveryOne, which is lobbying on behalf of Kazemi, has said he knows of 10 gay people executed in Iran since 2005, based on reports from nongovernment groups and activists.