According to claims, Jaime Rolando Urbina Torres put on a face mask and lay down in the coffin when officers came to detain him during an alcohol-fuelled night with his friends.
The mayor of the central town of Tantara was detained for violating a curfew and social distancing rules he was meant to be enforcing.
His friends are alleged to have hidden in drawers.
It’s unclear where the party took place or why there were open caskets close at hand.
The mayor has already faced criticism from some locals, who have accused him of being absent for much of the coronavirus outbreak.
They say he has spent just eight days in the town since the start of lockdown, and has failed to put in place any local safety measures.
Video later emerged of Mr Torres being questioned by the police about his actions.
Tantara was placed into lockdown 66 days ago, along with the rest of Peru, by the central government.
The country has so far seen 108,769 cases, the world’s 12th highest in the COVID-19 pandemic, with 3148 deaths.
There are fears that markets and those elsewhere in the region may have helped spread the killer bug.
In the capital, Lima, four out of five merchants in the city’s major fruit market recently tested positive for COVID-19 while spot tests at five other markets showed at least half the workers had the disease.
Police and the military are now carrying out testing at markets after President Martin Vizcarra refused to shut down the wholesalers.
The country’s healthcare system is struggling and in the capital, coronavirus-infected patients take up 80 per cent of ICU beds.
South America is fast becoming the new epicentre of the coronavirus pandemic, with authorities finding bodies in the streets as they struggle to enforce lockdown restrictions.
This article originally appeared on The Sun and is reproduced here with permission