Let this be a lesson. It’s better if you tell your boss that you’re NOT going to do what he asks because it’s WRONG. If he fires you, you sue his a$$ off.
You have obviously never tried suing a government agency.