Systems of justice vary.
“the structure of this system is a system of dispute resolution, to which written law was later appended. But the system is designed for dispute resolution, its purpose is to avoid the feud as much if not more than its purpose is to ensure that everyone follows the law. As we’ll see, if a law is ‘broken’ but no one (who matters) is understood to be directly injured by it, this is a legal system which does not care.)”
https://acoup.blog/2023/04/07/collections-how-to-polis-101-part-iic-the-courts/