Company CEOs have to learn that companies obey the laws of the countries they operate on, not the other way around.
Still, countries have the last word in what happens inside their borders, and when things don't work as they should, someone is getting wealthier.
However companies should not misunderstand such short term wins, with having a say on the country's ruling.