Chevron, who through a coup controlled the Equadorian government for many years, got the government to sign a law called “The Act of Liberation”, which, although very much contradicting the name, made it impossible for anyone (especially indigenous people) to sue the oil company.
They made it illegal to be sued.