Alan convinces Charlie that he needs to date more respectable women and sets him up with a judge. The two double date and their waitress happens to be one of Charlie’s ex-girlfriends. Charlie's date backfires the following morning, when he ends up in court in front of the judge.