That last example - with the wizard - is extreme, but it is in effect a type of a ticking bomb scenario.
Plus one can easily imagine a “wizard with a nuke” scenario where the wizard says: “Build extermination camps for 10,000,000 people of ethnicity/religion X or all 7 billion will die!” So what does that prove, that genocide is not evil?