An Indonesian province has introduced a harsh new law that re-introduces caning as a punishment for homosexuality – and it also applies to foreign tourists.

The brutal practise will begin in the Indonesian province of Aceh, as a law first passed in 2014 comes into effect this week.

The Aceh – the only part of the Asian nation which enforces Islamic Sharia law – has autonomous control over crime and punishment.

The new by-law in the province outlaws gay sex for both men and women, foreign nationals and locals, Muslims and non-Muslims.

The law states anyone engaging in homosexuality should be punished with 100 months in jail, 100 lashes, or a fine equivalent to 1,000 grammes of gold.

The shocking new law also applies to foreign nationals in the country – just days after Saudi Arabia backed down over plans to flog a British pensioner for owning alcohol.

Richard Bennett, Amnesty International’s Asia Pacific director, said previously in a statement: “This law will only add to the climate of homophobia, fear and harassment many in Aceh are already facing.

“Laws that criminalise sex outside marriage… are used disproportionately to police and punish women’s choices. They also act as a deterrent to women reporting rape and sexual violence who may fear being accused of sex outside marriage.”

According to Amnesty, at least 156 people have been caned in Aceh since 2010 for various unrelated offences, including gambling, selling food during the Ramadan, and drinking alcohol.

Bennett added: “[Caning is] a cruel, inhuman and degrading punishment that is clearly prohibited under international law”.

Homosexuality is legal in the rest of Indonesia, though the age of consent for gay sex is higher than for straight sex.

Indonesia has the world’s largest Muslim population – but outside of the Aceh, most practice a more moderate form of the faith.