D.A judge is typically viewed as the height of moral conduct.
Irony is when something occurs that is the opposite of what is expected. In the chapters, the judge proposes a plan to fool the townspeople into attending the play. A lawyer is expected to uphold the law and do nothing illegal. We don't know if fooling the townspeople into attending the play is technically illegal, but we do know that it is morally wrong. The lawyer should be following the law and the moral code: not tricking his people.