Sign up for our special edition newsletter to get a daily update on the coronavirus pandemic.

Java residents who flout social-distancing rules amid the coronavirus pandemic are being booed – by roving enforcers dressed as ghosts, according to a report.

The mysterious figures have been spotted in the Indonesian village of Kepuh, where they help get people into the spirit of avoiding public places to ward off the deadly bug, Reuters reported.

Known as “pocong,” the apparitions are wrapped in white sheets with powdered faces and kohl-rimmed eyes, an Indonesian folklore that represents the trapped souls of the dead.

“We wanted to be different and create a deterrent effect because ‘pocong’ are spooky and scary,” said Anjar Pancaningtyas, head of a local youth group that coordinated the scary tactic with police.

But the early efforts had the opposite effect, as people sought to catch a glimpse of the ghouls — so the organizers have changed their tactics by launching surprise pocong patrols using local volunteers.

President Joko Widodo has resisted a national lockdown, instead urging people to practice social distancing and proper hygiene.

But with the highest rate of COVID-19 deaths in Asia after China, some communities, including Kepuh, have decided to take matters into their own hands.

“Residents still lack awareness about how to curb the spread of COVID-19 disease,” village chief Priyadi told Reuters. “They want to live like normal so it is very difficult for them to follow the instruction to stay at home.”

Indonesia has recorded 4,241 confirmed cases of the illness, which has claimed 373 lives in the country.