It's written from a different perspective but this answer about the possible legal repercussions of murdering Jews in Nazi Germany from /u/peripatos gives context to how the legal system worked (or didn't) when it ran up against ideology. https://reddit.com/r/AskHistorians/comments/1gs3s5/if_a_german_civilian_had_killed_a_jew_in_nazi/canm68h