Apu writes down Marge's height as 8'6, including her hair.
When Homer visits Marge in his Halloween costume, he's wearing the same costume as Evil Homer from "Whacking Day."
The Mayor's seal says, "Corruptus in Extremis."
When the family runs out of clothes, Homer can fit into Marge's wedding dress. This alludes to the fact that Marge was pregnant when Homer and Marge got married as mentioned in previous episodes such as "I Married Marge."
In the highway out of Springfield, we see a sign with posted miles: 47 to Shelbyville, 63 to North Haverbrook, and 678 to Mexico City. This is interesting since Shelbyville is seen as a rival city, but is so far away (not to mention that, in "Lemon of Troy," there is a signed border indicating the two cities touch). Also, 678 miles to Mexico City puts Springfield somewhere in Texas if not Mexico.
The conjugal visit trailer next to Homer and Marge's features a bumper sticker reading: DONT COME A-KNOCKIN' IF THIS VANS A ROCKIN'
According to Dr. Hibbert, Marge has webbed toes.
According to the DVD commentary for this episode when Marge is hauled off to jail she used to say "Who's watching the Kwik-E-Mart?" And Julie Kavner (the voice of Marge) was so annoyed by the line that there is one take where she said "Who's watching the Kwik-E-Mart and who the F--- cares."
Homer wears a devil's costume when the family visits Marge in prison, because he doesn't have anymore clean clothes.
Bart: Mr. Hutz, when I grow up, I want to be a lawyer just like you.
Lionel Hutz: Good for you, son! If there's one thing America needs, it's more lawyers.
Marge: ...And a bottle of Aspirin, please.
Apu: The Aspirin is $24.95.
Apu: I lowered the price because an escaped mental patient tampered with the bottle.
(Inside Bart's head)
Cell #1: Sarge! We keep getting orders to let the virus win.
Cell #2: Must be a school day. Lay down your arms!
Virus: Alright! Let's make some pus.
Arnie Pie: (From the traffic copter) Route 401 is going around and around and around and around and around and look out at the corner of 12th and Main because I'm going to be sick!
(Lionel Hutz tries to give Judge Snyder a fake verdict)
Judge Snyder: This verdict is written on a cocktail napkin. And it still says "guilty." And "guilty" is spelled wrong!
Marge: Is that an old Halloween costume?
Homer: (wearing a devil costume) Uh…no.
Lisa: It seems like I've been wearing this same red dress forever!
Lawyer: Ladies and gentlemen of the jury. Who do you find more attractive? Tom Cruise or Mel Gibson?
Judge: What is the point of all this?
Lawyer: I feel so confident of Marge Simpson's guilt that I can waste the court's time by rating the super hunks.
Ned: Now Marge don't you worry, we've all had our brushes with the law.
Cop: Are you Ed Flanders?
Ned: No, Ned Flanders.
Cop: My mistake.
Apu: We're putting that bitch on ice!
Chief Wiggum: All right, come out with your hands up, two cups of coffee, an auto freshener that says 'Capricorn', and something with coconut on it!
Ned: Watch Fox and be damned for all eternity.
Mr. Burns: Who the devil are you?
Homer's Brain: Don't panic. Just come up with a good story.
Homer: My name is Mr. Burns!
Homer's Brain: D'oh!
McClure: Are you sure it's on!? I can't hear a thing! (as the Juice Loosener clatters loudly)
Dr. Nick: It's whisper quiet!
Bart: Who's gonna change Maggie?
Homer: We're going to let her roam free in the backyard and nature will take its course.
Marge: Knock, knock. I'm Marge Simpson, your new cellmate.
Phillips: I'm Phillips. They called me that because I killed my husband with a Phillips-head screwdriver.
Hutz: Now don't you worry, Mrs. Simpson, I- uh-oh. We've drawn Judge Snyder.
Marge: Is that bad?
Hutz: Well, he's kind of had it in for me, since I accidently ran over his dog. Actually, replace "accidently" with "repeatedly," and replace "dog" with "son."
Blackboard Joke: I do not have diplomatic immunity.
Couch Gag: A miniature-sized family climb onto the couch.
Marge is accused of shop lifting and hires Lionel Hutz, played by Phil Hartman, as her attorney. In the middle of the trial, Lionel gets an urge for whisky, so he calls his AA sponsor, David Crosby of Crosby Stills Nash and Young. When David Crosby answers the phone he is looking at the CSNY emblem on an album, which Phil Hartman designed himself in the late-'70s.
In his testimony in court Professor Frink shows a grainy film, much like the Zapruder film of the JFK assassination, and makes reference to Marge being on the grassy knoll. The grassy knoll is where the 2nd gunman was positioned in a conspiracy theory, which was included in the 1991 film JFK by Oliver Stone.
Lisa: You're a modern day Clarence Darrow!
Clarence Seward Darrow (April 18, 1857 – March 13, 1938) was an American lawyer and leading member of the American Civil Liberties Union, best known defending teenaged thrill killers Leopold and Loeb in their trial for murdering 14 year old Bobby Franks and defending John T. Scopes in the so-called "Monkey" Trial (1925). He remains notable for his wit, compassion and agnosticism that marked him as one of the most famous American lawyers and civil libertarians.
Jimmy Carter Statue: "Malaise Forever"
On July 15, 1979, Carter gave a nationally-televised address in which he identified what he believed to be a "crisis of confidence" among the American people. This has come to be known as his "malaise" speech, even though he did not use the word "malaise" anywhere in the text.
This is the first appearance of a recurring joke in that Marge's inmate number is 24601, which was convict Jean Valjean's number in the novel and Broadway musical "Les Miserables." This number later shows up on other incarcerated characters including Sideshow Bob.
A short clip featuring Al & Peg from the show Married With Children can be seen when Ned Flanders wonders why his family got the flu.
When Maude is spying on Marge through a hole in the wall, it is a reference to the scene from the classic 1960 film Psycho, when Norman is watching Marion Crane get undressed in her motel room.
Alice In Chains
The makers of this episode may have been referring to the hit grunge band, Alice In Chains, of the same era, when they decided on the title.
Hutz: Can you imagine a world without lawyers?
After Hutz says this, he imagines in his head the Coca-Cola "I'd Like to Teach the World to Sing" commercial from the early 1970s.