I would think any competent software engineer would refuse to write code that could cripple their own nation's civilian transport because of their boss's greed, and thus the company had someone do it who was idiotic enough to try.
There are plenty of competent software engineers that do extremely unethical things for money, look at the defense industry.