Order in the court! (OSR legal argument rules)

So your PCs have gotten themselves in trouble with The Law, but rather than just presumed guilty and tossed in a prison cell or executioner's block (presumably for a dramatic escape, or possibly just to show them that actions have consequences), they're dragged into a courtroom and forced to argue for their own innocence. How do they get out of this alive? Let's find out... For Glaugust challenge…