In France public service employees have a very high level of protection (they're very hard to fire), and are legally allowed to disobey "obviously illegal" orders, I suppose this case would qualify?
All of this was implemented immediately after WW2 as a way to prevent a potential authoritarian ruler from using public administrations for nefarious things. So it seems quite fitting.