"Just Culture" by Sidney Dekker is a book about balance between fairness/justice and learning how to prevent incidents in the future. He doesn't have a lot of good things to say about the court system.
https://www.amazon.com/Just-Culture-Balancing-Safety-Account...