you would be surprised as to how many people would assume that they would still be able to hold a corporation to account if they completely make a country unlivable and kill citizens. these treaties are morally wrong and make it legal for corporations to destroy the habitibility of a piece of land and kill its inhabitants if it is profitable to them
I'm not aware of any provisions in these treaties that permit killing.
"An estimated 18 billion gallons of produced water has been diverted into some 880 unlined open pits, causing severe contamination of streams and rivers relied on by local inhabitants for their drinking water, bathing and fishing. Moreover, 650,000 barrels of crude oil have been spilled directly in the jungles and pathways.[14][15][19] The produced water contained polycyclic aromatic hydrocarbons at levels many times higher than permitted in the US, where produced water was typically re-injected underground since at least the 1970s.[14] Given the magnitude of the contamination and its lasting impact many environmentalists claim it is the worst oil-related disaster in the world, the amount of crude and toxic waste dumped by Texaco allegedly being 30 times the one spilled in the Exxon Valdez oil spill."
https://en.wikipedia.org/wiki/Lago_Agrio_oil_field#Pollution
I think you are being rather naive about this. A country is not a person. Individuals can be in charge with entirely different agenda's than what is the interest of the country. Corruptible officials who let themselves get bought by powerful corporations to gain personal wealth. Not for the benefit of their own country.
When the citizens realize they have been screwed over by a corrupt leader, who gained power in illegal or dubious means, should they have no recourse?
History is full of stories about these kinds of unequal deals. It is how colonialism started. Powerful western enterprises pressured weaker nations into unfavorable conditions.
It happens everywhere. As a Norwegian I know very well how powerful American oil companies tried to screw us over big time when found oil in the North Sea. What saved Norway was in fact that we had an extremely anti-capitalist government full of socialists which challenged them on everything. We also benefitted from having low levels of corruption. There was no government official these companies could buy to screw us over. That is the problem of corruption. It makes you very vulnerable.