The Super Mario Bros. Super Show! episode On Her Majesty's Sewer Service
October 10, 1989
The twenty-second episode of the Mario animated series (twenty-seventh also counting the Zelda episodes), broadcasted along the live-action segment "9001: A Mario Odyssey", is a parody of the James Bond series.
The plot is about secret agent James Blonde being petrified by King Koopa's alter-ego Koopfinger, so Mario and Luigi go to the Super Spy Headquarters where they receive some gadgets to fight the villain. After a car chase they're captured, but in the end manage to escape and fight him back, making him run away and saving James Blonde.
The episode's title is a pun on On Her Majesty's Secret Service, one of James Bond's stories, while the agent James Blonde is obviously based on Bond himself, even if it's not clear if they wanted to reference a specific actor in his likeness (due to the light colored hair, he might resemble Roger Moore, who played Bond from 1973 to 1985). The Head of the Super Spy Headquarters, named Agent N, is a reference to MI6 agents being named after letters in the James Bond series, with "M" being the head of MI6 and "Q" being the head of its research and development division. He also says that "Agent O is on vacation" and then shows the Mario Brothers their spy weapons in the same way Q does in James Bond movies. The evil Koopfinger is a parody of Auric Goldfinger, the main villain from Goldfinger, but also features some traits of Blofeld, a recurring enemy in the James Bond series, namely in his clothes, having a scar on his head (though Blofeld has it on his face), wearing a ring with his logo on it, and stroking a pet he keeps on his legs while sitting (a Porcupo as opposed to a white cat). His henchemen are buffed up Koopa Troopa, Mouser and Tryclyde. Mouser is clearly based on Oddjob from Goldfinger, also throwing his hat in the same way. Additionally, at the beginning of the episode, Mario's Plumber Log is number "007".
DiC, that created the Mario TV show, holds no right over Ian Fleming Publications' and Danjaq's James Bond series, in fact they only parodied it.