If your boss makes an executive decision and you tell everyone under you to resist the decision then getting fired can't come as much of a surprise. No leader of any stripe is going to retain an employee who makes a public spectacle of defiance.