How did Germany's legal system function after World War II? Was virtually every judge and lawyer 'tainted' by the previous Nazi regime?

by Leon_Brotsky

I'm just curious how Germany's legal system reconciled itself after World War II. It seems as if there would have been a crisis of legitimacy. How could you take seriously the pronouncement of a judge that was at best complicit in the Nazi legal regime of 1933-1945?

Any recommendations on suggested reading concerning this subject would be appreciated.

voyeur324

/u/idenpoelchau has previously answered How much legal continuity exists between pre and post WW2 Germany?, though it focuses on the law itself more than officers of the court.

/u/flying_shadow has written about the methods the Allies used in Denazification.

/u/CapnCanuck1867 has previously answered What and who was in charge of Germany in 1946? How were they chosen?