The only thing that would be crueler is to revoke someone's birth certificate. "Sir, you never existed in the first place."
It was some time ago that I read about it, and I'm struggling to find a source now, but there are instances in India of people being declared dead to allow their next of kin to steal their land. In doing so, the 'dead' unsurprisingly lose access to various public resources, health care, etc.
Edit: found a reference: https://en.wikipedia.org/wiki/Uttar_Pradesh_Association_of_D...
https://www.cjonline.com/story/news/politics/government/2026...
Thankfully the courts found this sort of harm unreasonable.
Actually, I wonder if that would mean a marriage is (legally) over at that point too? ;)
Instead of an entry into the adoption registry, they created a new death certificate, and a backdated new birth certificate. A lot of government systems collapse when it turns out you are two people.
eg https://www.theguardian.com/lifeandstyle/2021/jul/03/they-sa...
Edit: and a few others https://news.ycombinator.com/item?id=48060857
The Romanian man Guardian article has a great and horrible quote:
> The court told him he was too late, and would have to remain officially deceased.
https://www.leprogres.fr/faits-divers-justice/2023/02/28/jea...