An outlandish and exceedingly unlikely and fantastical scenario used in place of “when pigs fly” because the latter is a worn-out and tiresome expression.
I will vote for Humpty Trumpty if he runs for future office when chickens drive!