It feels like The United States unofficial 0th amendment is the enshrined concept of getting off on a technicality. It comes with the territory with a written constitution.
OJ, sexual relations with that woman, Capone’s unpaid parking tickets, hanging chads… or anything heard by the Supreme Circus.
A huge part of the legal system, or at least the part that goes to trial, is exploiting the equivalent of bugs in the legal code.