here's grace and a cod-piecethat's a wise man and a fool.: The supposedly wise King is symbolized by royal grace, the fool by his codpiece (here slang for "penis"). The Fool speaks ironically: the King, as he has pointed out, is now the foolish one.
Cod-piece Source:
blog.inkyfool.com