doctorbadwolf
Heretic of The Seventh Circle
Actually it works extremely well, but that is tangential to the point.Many D&D worlds - at least the mundane non-magical bits - are nominally based on Europe of varying ages, from Greco-Roman times to the Renaissance; and (as keeps arising in other threads) this puts a whole different spin on how a lot of things work in society. Trying to apply or overlay 21st-century rules, morals, ethics, politics, etc. just doesn't work well.
Many D&D worlds have completely different legal systems from any given part of Europe in the thousand years or so of the Middle Ages. Trying to make authoritative declarations about what The Law is in D&D is just blatantly ridiculous. Any given law being referenced is just one part of the Middle Ages, in one region, at best, and such laws are useful only as vague inspirations.
No published 5e setting has the same laws as 14th century England, Or 10th Century France, or whatever, nor do the vast majority of home games, which aren’t being run by experts in medieval law of a given time and place.