The legal code regarding homosexuality in the Vatican City is based on the Italian penal code of 1929, the time of the founding of the sovereign state Vatican City. However, it was announced in late 2008 that the Vatican "will no longer automatically adopt new Italian laws as its own, a top Vatican official said, citing the vast number of laws Italy churns out, many of which are in odds with Catholic doctrine".[1]
There are no criminal laws against non-commercial, private, adult and consensual same-sex sexual activity.
The Vatican does not have its own separate criminal code...
Vatican during the Savoyard Era 1870-1929 describes the relation of the Vatican to Italy, after 1870, which marked the end of the Papal State and 1929, when the papacy regained autonomy in the Lateran Treaty.
Image 22A monument to Fr. Maximilian Kolbe, among the estimated 3,000 members (18%) of the Polish clergy who were killed by the Nazis; of these, 1,992 died in concentration camps. (from Vatican City during World War II)
Did you know?
... that some Catholics considered Tom Lehrer's "The Vatican Rag" (audio featured) to be blasphemous?
... that the Vatican selected Mary Milligan in 1987 to be one of only three U.S. experts to assist the International Synod of Bishops on the Laity in Rome?