A British court has blocked pollution claims against Anglo-Dutch energy giant Shell by many residents of Nigeria's Niger Delta region demanding action over decades of oil spills there.

Members of the Ogale and Bille communities, who say thousands of lives have been devastated by environmental disasters from the global company, had applied for the case to be heard in Britain, arguing that rampant corruption in their home country prevents them from achieving justice in courts there.

But the High Court in London on Thursday said that it did not have jurisdiction in the case, ruling that it should be settled in Nigeria.

Shell denies lying about Nigeria oil spills

"Our community is disappointed but not discouraged by this judgment," King Emere Godwin Bebe Okpabi, ruler of the Ogale Community, said in a statement.

"This decision has to be appealed, not just for Ogale but for many other people in the Niger Delta who will be shut out if this decision is allowed to stand.

"Shell is simply being asked to clean up its oil and to compensate the communities it has devastated," he said.

The company's lawyer, Peter Goldsmith, told judge Peter Fraser during a hearing in November that the cases concerned "fundamentally Nigerian issues", and should not be heard in London.

READ MORE: Shell accused of lying over Nigeria oil spill cleanup

However, the lawyer representing the claimants, Daniel Leader, of Leigh Day, said that the spills had "blighted the lives of the thousands".

He said they had "no choice" other than to seek legal redress in London.

Goldsmith argued that the case involves Shell's Nigerian subsidiary SPDC, which runs a joint venture with the Nigerian government.

He claimed that the case was aimed at establishing the High Court's jurisdiction over SPDC, opening the door for further claims.

'Strange diseases'

Leigh Day had argued that Shell was "ultimately responsible for failing to ensure that its Nigerian subsidiary operates without causing environmental devastation".

"At the moment, these communities have no choice. They have to take them to court to get them to act," Leader said earlier.

READ MORE: Shell sued in UK for 'decades of oil spills' in Nigeria

Okpabi told the AFP news agency in November: "Shell is Nigeria and Nigeria is Shell".

"You can never, never defeat Shell in a Nigerian court. The truth is that the Nigerian legal system is corrupt," he claimed.

Holding up a plastic bottle containing contaminated water from his community in Nigeria, the tribal king said: "My people are drinking this water."

Nigeria works to clean up oil corruption

"There are strange diseases in my community - skin diseases, people are dying sudden deaths, some people are impotent, low sperm count," he added. "I can afford to buy water. But can I afford to buy for everybody? No."

SPDC claims that the main sources of pollution in Ogale and Bille are "crude oil theft, pipeline sabotage and illegal refining".

The first claim was brought on behalf of 2,335 individuals from the Bille Kingdom, who are mostly fishermen who say their environment has been blighted by oil spills.

The second claim was brought on behalf of the 40,000 members of the Ogale Community, who say they have suffered repeated oil spills since at least 1989.