FREE now and never miss the top politics stories again. SUBSCRIBE Invalid email Sign up fornow and never miss the top politics stories again. We will use your email address only for sending you newsletters. Please see our Privacy Notice for details of your data protection rights.

The pair were reported by police by snooping neighbours - who filmed parts of the act. Police chief Marzuki said the men had since confessed after being confronted with the clip and now face 100 strikes with a cane. The men, aged 20 and 23, are residents of the country’s conservative Aceh province - the only area in the country to practice Shariah law.

GETTY Indonesia's Aceh province practices a conservative style of law

Marzuki said: "Based on our investigation, testimony of witnesses and evidence, we can prove that they violated Islamic Shariah law and we can take them to court." The Sharia law code was introduced to Aceh two years ago. It punishes what it describes as crimes of “morality”. Other so-called crimes include drinking, gambling, skipping prayer and wearing tight clothes.

GETTY A woman being caned for breaking a 'moral law'

Aceh, while located in the western tip of Indonesia, is the heart of Islam and conservatism in the country. Separatists have long pushed for independence from the rest of the country, although this was quashed by a series of concessions from the government. This allowed greater autonomy regarding lawmaking including the introduction of Sharia law.

GOOGLE MAPS Aceh province is located at the western tip of Indonesia

It has led to a break-down in gay rights in the region - and across the rest of the country. A report last year warned gay rights was now coming under “unprecedented attack”. Human Rights Watch said: “The rights of Indonesian sexual and gender minorities have come under unprecedented attack in 2016.

GETTY Sharia Law is practiced in Aceh province in Indonesia