The UN decried on Monday new “cruel and inhuman” laws set to take effect in Brunei this week which impose death by stoning for gay sex and adultery, and amputations for theft.

“I appeal to the government to stop the entry into force of this draconian new penal code, which would mark a serious setback for human rights protections for the people of Brunei if implemented,” UN rights chief Michelle Bachelet said in a statement.

Brunei, an absolute monarchy ruled for 51 years by Sultan Hassanal Bolkiah, has said it will implement the new penal code starting on Wednesday.

Brunei first announced the measures in 2013, but implementation has been delayed, in the face of opposition by rights groups, and as officials worked out the practical details.

The new law stipulates the death penalty for a number of offences, including rape, adultery, sodomy, robbery and insulting or defaming the Prophet Mohammad.

It also introduces public flogging as punishment for abortion as well as amputation for theft, and criminalises exposing Muslim children to the beliefs and practices of any religion besides Islam.

Bachelet pointed out that a wide range of UN rights experts had “expressed their concerns about the cruel, inhuman and degrading punishments contained in the Penal Code order”.

Her comments came after a long line of politicians and celebrities condemned the new laws.

Last execution in 1957

Bachelet urged Brunei to uphold a long tradition of not applying the death penalty laws that have remained on its books. The country last carried out an execution in 1957.

She stressed that international law imposes very stringent restrictions on the use of the death penalty, which can only be applied for the crimes of murder and intentional killing, and only after all due process requirements have been met.

“In reality, no judiciary in the world can claim to be mistake-free, and evidence shows that the death penalty is disproportionately applied against people who are already vulnerable, with a high risk of miscarriages of justice,” Bachelet said.

“I urge Brunei to maintain its de facto moratorium on the use of capital punishment.”

The UN High Commissioner for Human Rights also warned that the new laws could encourage violence and discrimination on the basis of gender, sexual orientation and religious affiliation.

“Any religion-based legislation must not violate human rights, including the rights of those belonging to the majority religion as well as of religious minorities and non-believers,” she said.

‘Barbaric’ decision

In related development, British pop legend Elton John has joined actor George Clooney in calling for a boycott of nine Brunei-owned hotels over the draconian new laws.

“I commend my friend, #GeorgeClooney, for taking a stand against the anti-gay discrimination and bigotry taking place in the nation of #Brunei – a place where gay people are brutalised, or worse – by boycotting the Sultan’s hotels,” the singer wrote on his Twitter page late on Saturday.

The 72-year-old, a veteran gay rights campaigner, said his “heart went out” to staff at the hotels, but that “we must send a message, however we can, that such treatment is unacceptable”.

The nine hotels mentioned by Clooney are located in Britain, France, Italy and the US. They include London’s exclusive Dorchester and the Beverly Hills Hotel in Los Angeles.

The Dorchester Collection luxury chain issued a statement saying that its code emphasises “equality, respect and integrity in all areas” and that “we do not tolerate any form of discrimination”, CNN reported.

Clooney called for the boycott earlier this week, saying “every single time we stay at or take meetings at or dine at any of these nine hotels, we are putting money directly into the pockets of men who choose to stone and whip to death their own citizens for being gay or accused of adultery”.

“No one should face the death penalty because of who they love. Brunei’s decision is barbaric,” Britain’s international development minister Penny Mordaunt wrote on Twitter.

Former New Zealand prime minister Helen Clark called the new penal code “shocking” and “barbaric”.

Amnesty International called on Brunei to “immediately halt its plans to implement these vicious punishments”.

In the US, Clooney’s call drew supportive declarations from lawmakers on both sides of the political aisle and a strong statement from the Trump administration.

“We strongly oppose human rights violations and abuses against LGBTI persons, including violence,” the State Department said in a statement.

LGBTI stands for Lesbian, Gay, Bisexual, Transgender and Intersex. Intersex people are people born with physical features that are neither wholly male nor female.

Homosexuality has long been illegal in Brunei, which practises a stricter brand of Islam than neighbours Malaysia and Indonesia, but it will now become a capital offence.