Indonesia’s Aceh province, which has gained international infamy for its strict Islamic laws, won rare praise from rights activists Thursday for introducing the country’s most generous maternity leave policy.

The decision to give female civil servants six months’ maternity leave, double the typical amount elsewhere in the country, is an unusual move in a province routinely criticised for breaching women’s rights.

However it has sparked a row with the central government in Jakarta, which says it runs counter to national law that stipulates three months maternity leave.

Andreas Harsono, Indonesia researcher for Human Rights Watch, welcomed the move: “They’re becoming more progressive.” However he added Aceh still “has a lot of work to do in reviewing discriminatory bylaws”.

The devout western province is the only part of the world’s most populous Muslim-majority country allowed to implement sharia laws and is often criticised by rights groups.

There are canings for people caught gambling, drinking alcohol, spending time with members of the opposite sex outside of marriage and having gay sex.

Public lashings, often well attended, are carried out and sharia police target women for such offences as failing to wear a headscarf.

The Aceh governor decided to introduce the policy last month to ensure women have the chance to breastfeed to combat widespread stunting caused by malnutrition, said local government spokesman Frans Dellian.

It applies to around 92,000 female civil servants in the province. Employees will be paid for the first three months although the law is not clear on what happens in the final months.

Yenni Linda Yanti, 35, a nurse at a government hospital in Aceh, was the first person to benefit from the new policy.

“I am happy — now I have more time to spend with my child,” she said.

Aceh was granted broad autonomy in 2001, including the right to introduce sharia law, in a bid to quell a separatist insurgency.

Activists say there has been a rapid growth in Islamic regulations since a peace deal was struck in 2005.

Grove: Coconuts Brand Studio

Fast. Funny. Digital. We produce creativity that delights and influences customers. Join forces with us to slay buzzwords, rise above the noise, and sow the seeds of something great.