A 59-year-old Brazilian man has surprised his family by turning up at his own funeral, local media report.

Relatives of Ademir Jorge Goncalves, a bricklayer, had identified him as the victim of a car crash in southern Parana state the previous day.

Police told O Globo newspaper that relatives had trouble identifying the corpse because it was badly disfigured.

It emerged that Mr Goncalves had spent the night drinking a rum-like liquor called "pinga" with his friends.

He did not get word of his funeral until it was already happening on Monday morning, his niece Rosa Sampaio said.

She said some family members - including herself and the man's mother - had doubts, but an aunt and four friends had positively identified the body.

"What were we to do? We went ahead with the funeral," she told O Globo.

A police spokesman welcomed the happy ending: "Before long, the walking dead appeared at the funeral. It was a relief," the unnamed officer told the paper.

The body was correctly identified later, he said, and buried in another state.