Origin of the Phrase "Banged to Rights": Medieval British Courts
The phrase likely originates from medieval British courts: judges would "bang" a wooden gavel on the "book of rights" to declare a defendant proven guilty beyond doubt based on presented evidence.