Royal Dutch Shell RDS.A -3.53% PLC’s Nigerian subsidiary has been ordered by a Dutch court to pay compensation for oil spills in two villages, a ruling that some lawyers say could encourage further cases against multinationals for pollution abroad. The ruling against the energy giant is the latest step in a years-long legal tussle over the case, which was first lodged in 2008 by four Nigerian farmers and Friends of the Earth Netherlands. They had accused Shell RDS.A -3.53% and its Nigerian subsidiary of polluting fields and fish ponds through pipe leaks in the villages of Oruma and Goi.

In its ruling Friday, the Court of Appeal in the Hague, where Shell has its headquarters, also ordered the company to install equipment to safeguard against future pipeline leaks. The amount of compensation payable related to the leaks, which occurred between 2004 and 2007, is yet to be determined by the court.

The case establishes a “duty of care for the parent company to play a role in the pollution abroad, in this case by having the duty to make sure there is a leak-detection system,” said Channa Samkalden, lawyer for the Nigerian farmers and Friends of the Earth Netherlands.

Shell argued that the leaks were caused by sabotage. In a statement following Friday’s ruling, the company said it was “disappointed that this court has made a different finding on the cause of these spills.” Shell didn’t say whether it would appeal against the verdict.

In recent years there have been several cases in U.K. courts related to whether claimants can take matters to a parent company’s jurisdiction. In 2019, the U.K. Supreme Court ruled that a case concerning pollution brought by a Zambian community against Vedanta Ltd. , an Indian copper-mining company previously listed in the U.K., could be heard by English courts.