The Judge sentences Soapy to jail at the very, very end of the story. We know nothing about him except that he is a judge and he sentences Soapy to three months in jail. Like the other characters, the judge works to thwart Soapy's plans. The judge sentences Soapy after Soapy decides he no longer wants to go to jail. The poor guy just can't get a break.