Make it economically bad times, and the customer a shady actor. Will the company deliberately close and stop offering its services, despite needing to put food on the table? Or will the company just go along and do the coding for shady customer?
Now, put a lot of air in that thought-baloon and you will see how basically every for-profit will end up doing immoral things.