Real engineers have actual professional standards bodies they're accountable too for ethical violations. Your boss telling you to do something unethical runs right up against the risk you won't be able to practice your profession. This is why the built environment largely endures.