Prosecutors have even stronger immunity
https://en.m.wikipedia.org/wiki/Prosecutorial_immunity
>Firming up what had long been held as common practice, the U.S. Supreme Court in 1976 ruled in Imbler v. Pachtman that prosecutors cannot face civil lawsuits for prosecutorial abuses, no matter how severe
What other job exists on the face of the planet where there's such a strong guarantee and therefore so much moral hazard?