(remember VW trying to blame two engineers for the "defeat device"?)
[0]: https://badcyber.com/dieselgate-but-for-trains-some-heavywei... - Section "Checking the date is hard"
In these situations the entire company needs to catch the blame, even if the commits can be pinned to one programmer. By all means fine or imprison the programmer, but also charge his boss because he knew or was criminally negligent for not knowing, and ditto the bosses' bosses up to the executives. And fine the hell out of the entire corporation; either they knew this happened and did it deliberately, or they were negligent for allowing something like this to happen. Either way the whole corp needs to pay.
WTF is this comment? Hanlons Inverted Anticapitalist Razor clearly says to never attribute to stupidity that which can be more easily explained by greed. Therefore it's more likely management that's at fault here.