In recent years, the Netherlands, Belgium, Canada, and Spain have recognized marriages between people of the same sex. Several other countries recognize civil unions with similar legal effect.
An even wider range of countries have laws against discrimination on the basis of a person's sexual orientation, in areas like housing and employment. Yet in the world's largest democracy, India, sex between two men remains a crime punishable, according to statute, by imprisonment for life.
India is not, of course, the only nation to retain severe punishments for homosexuality. In some Islamic nations, Afghanistan, Iran, Iraq, Saudi Arabia and Yemen, for instance, sodomy is a crime for which the maximum penalty is death. But the retention of such laws is easier to understand in the case of countries that incorporate religious teachings into their criminal law,no matter how much others may regret it , than in a secular democracy like India.
Anyone who has visited India and seen the sexually explicit temple carvings that are common there will know that the Hindu tradition has a less prudish attitude to sex than Christianity.
India's prohibition of homosexuality dates back to 1861, when the British ruled the subcontinent and imposed Victorian morality upon it. It is ironic, therefore, that Britain has long ago repealed its own similar prohibition, while India retains its law as a colonial relic.
Fortunately, the prohibition of sodomy in India is not enforced. Yet it provides a basis for blackmail and harassment of homosexuals, and has made it more difficult for groups that educate people about HIV and AIDS to carry out their work.
Vikram Seth, the author of A Suitable Boy and other fine novels, recently published an open letter to the government of India calling for a repeal of the law that makes homosexuality a crime. Many other notable Indians signed the letter, while still others, including the Nobel Laureate Amartya Sen, have given it their support. A legal challenge to the law is currently before the high court in Delhi.
Around the time when India's prohibition of sodomy was enacted, John Stuart Mill was writing his celebrated essay On Liberty, in which he put forward the following principle: "the only purpose for which power can be rightfully exercised over any member of a civilized community, against his will, is to prevent harm to others. His own good, either physical or moral, is not sufficient warrant ... Over himself, over his own body and mind, the individual is sovereign."
Mill's principle is not universally accepted. The distinguished 20th century British philosopher of law, H.L.A. Hart, argued for a partial version of Mill's principle.
Where Mill says that the good of the individual, "either physical or moral, is not sufficient warrant for state interference, Hart says that the individual's physical good is sufficient warrant, if individuals are likely to neglect their own best interests and the interference with their liberty is slight. For example, the state may require us to wear a seatbelt when driving, or a helmet when riding a motorcycle.
But Hart sharply distinguished such legal paternalism from legal moralism. He rejected the prohibition on moral grounds of actions that do not lead to physical harm. The state may not, on his view, make homosexuality criminal on the grounds that it is immoral.