More like someone rubbed the "old lamp". A Genie popped out and granted one wish. The wish was for the election of a Dead Candidate.
In a "Robin Williams-ish" voice the Genie said "It's not pretty and I don't like to do it". But the wish remained. So the Nation got Cheesebrain Joe.
Ali Baba was the "Good Guy" of the "Open Sesame" variety, beset upon by 40 thieves, and using his noodle, pulled the wool over their eyes. Sleepy Joe couldn't compete...