Molloy’s character is based on the suave "gentleman thief" A.J. Raffles, specifically David Niven's 1939 portrayal.
Homer’s dream sequence features him riding a nuclear bomb while waving a cowboy hat, mimicking Slim Pickens' iconic scene. [S5E11] Homer the Vigilante
The episode is famous for its elaborate homages to classic cinema: Molloy’s character is based on the suave "gentleman
Watch these classic clips highlighting Homer's incompetence as a leader and Grampa's surprising detective skills: S05E11 - Homer on His Vigilante Group Crimes YouTube · The Max Power Way Homer Simpson The Vigilante And Guns YouTube · Rob Martin [S5E11] Homer the Vigilante
The entire third act parodies this film's premise, with the townspeople racing to find buried treasure under a "Big T".