Doug pretends to be a lawyer in order to play on the softball team of Carrie's work. When confronting Carrie with this, she says that he could pass for a number of professions, but not a lawyer. In this list, she mentions that Doug could pass for a mall security guy. In 2009, Kevin James played a member of New Jersey Mall Security in Paul Blart: Mall Cop (2009).
The title of this 2003 episode, "Affidavit Justice", is a pun on the name of David Justice. David Justice was a professional baseball player in the MLB (Major League Baseball) until 2002, the year before this episode aired. This episode centers on Doug's baseball "career" with Carrie's law firm team.
The theme to the legal drama "L.A. Law" (1986-1994) is featured in this episode. Both Dakin Matthews and Jerry Stiller, who play the respective fathers to Kevin James and Leah Remini on this show, guest starred on L.A. Law (1986).