What you're basically saying is that companies are acting in accordance with certain moral values, even though they don't intrinsically have those moral values. That's great news! That's downright fantastic! Instilling "true" morality is a difficult problem. We have bypassed that problem and gotten the same observable results by replacing it with a much simpler one.
Corporations are supposed to be automata that optimize an objective function. External pressure was applied, via both sanctions and public sentiment, and behold! Their behavior changed. The sanctions had the effect that was intended. That's better than you could say for many other policies.