Re: perverting the rule of law
After the failed beer hall putsch, Hitler was charged with high treason. The judges were quite sympathetic, to put it mildly. Hitler was sentenced to 5 years in prison - and actually did 9 months. Which he used to write Mein Kampf.
If the court would have actually followed the law as it was at the time, there would have been very little leeway towards not sentencing Hitler to death.
Several jurists have written books (or a thesis) about the trial; IMO Gritschneder’s book is a good summing up.
Otto Gritschneder: “Bewährungsfrist für den Terroristen Adolf H. Der Hitlerputsch und die bayerische Justiz”. Verlag C. H. Beck, München, 1990
Writeup in DER SPIEGEL: http://www.spiegel.de/spiegel/print/d-13507216.html