In U.S. history only 8 federal judges have been convicted and removed. In a normal year the number is zero, out of ~870. For state judges, about 11 are removed per year out of ~30,000. They can be held accountable, but it takes something extraordinary, and worst case they retire early. If a judge confesses to full self-replacement that might do it. Too many load bearing emdashes wouldn't be enough.