I know that this was a Comic Book story, but it was the retconn of a supervillain, that put him in greater perspective ("Not Evil- just misunderstood, is all...! Yeah, right!)" But in some Latino Island nation, they had a Medieval Law, under which the unborn male offspring of a convicted criminal was made to serve the Life Sentence (!) of his father. So that he went on to grow up to hand a previously undefeated superhero his backbone.
Whereas it is "only a story," the writers for that publishing house have a reputation for being careful to do their research, and not just write something silly off-the-cuff. It sounds very compelling that there may well have been nations with such laws, and some countries might even have them on their books, unrepealed, ready to be resurrected at the slightest provocation.
Some may even do this as a matter of course, without apology.
Do you know any references on this?

