Over here (EU), the purpose of a corporation does not have to be maximising profit (although that is the default) and CEO does not have to use every legal method to maximize profit, at all costs.
Even in the US, it is not really true. The CEO is not allowed to unreasonably undermine the company's profitability, but they are allowed nearly unlimited business judgement. As long as they can come up with any remotely plausible business justification for their actions, no court in the US will stop them.
The CEO of Nestle could say something as simple as "acting in this manner will be perceived negatively and will harm our future sales" and they would be safe from legal action.
Over here (EU), the purpose of a corporation does not have to be maximising profit (although that is the default) and CEO does not have to use every legal method to maximize profit, at all costs.