Lois and Peter is of "Family Guy"characters sing to victory.

The producers of "Family Guy" Monday won a courthouse showdown with the owners of the song "When You Wish Upon a Star."

The envelope-pushing animated show aired an episode in 2000 called "When You Wish Upon a Weinstein." It featured a song, "I Need a Jew," that music publishing house Bourne Co. said was an anti-Semitic parody of its 70-year-old classic from Walt Disney's "Pinocchio."

Manhattan Federal Judge Deborah Batts tossed out the copyright lawsuit Monday, saying the song was fair game for parody.

"The owner of the rights to a well-known work must expect, or at least tolerate, a parodist's deflating ridicule," Batts wrote, citing an appeals court ruling.