The ruling is the latest step in a 13-year legal battle over the contamination of a rain forest in Ecuador, where Texaco had oil operations. The lawsuit has pitted Ecuadorean villagers in the region of Lago Agrio against Chevron, which bought Texaco.