He can’t condemn others without judging himself first, so the idea is to heap judgments on himself in order to justify judging others. That’s why he’s a judge – someone who condemns others – but also a penitent, someone who recognizes and judges his own crimes.