There's an action for that: forgiveness
There's at least one major religion that includes the concept in a well used prayer - something like, "forgive us our trespasses..."
Not to mention that other not quite so old expression, "For every rule, there is an exception..."
Certainly, there are situations where rules are good and important, and there are others where flexibility is important. My son cannot legally drive our car for insurance reasons. The rule is really weird, because it's hooked to a technicality. His girlfriend can legally do so, except she can't drive a standard (although we
should give that another go... )
However, if it's an emergency situation - for example he's driving someone to the hospital who needs critical care, a different rule will cover him within the same insurance system. The first rule was to prevent people from cheating the insurance system by letting high risk people drive a vehicle registered to a low risk owner/insurer. The second rule says that if someone's bleeding/dying, you get a pass!
Building flexibility into rules is hard - clear cut is much easier to write. But I think flexibility - all that "grey area" stuff - is the reality of dealing with humans, and is critical to developing a fair and just society.
I'm glad you went to bat for the fellow, John!