LONDON (Reuters) - London’s High Court on Monday rejected a claim by campaigners that Britain’s multi-billion-pound arms sales to Saudi Arabia should be halted because they were being used in Yemen in violation of international humanitarian law.

FILE PHOTO: The Royal Courts of Justice are seen in London Britain May 19, 2016. REUTERS/Peter Nicholls

The ruling was condemned by activist groups and charities, with Oxfam saying it “sets back arms control 25 years”, but it was welcomed by the British government.

“I welcome the High Court judgment today ... it shows that we do in this country operate one of the most robust export- control regimes in the world,” British Prime Minister Theresa May told parliament when asked about the ruling.

The Campaign Against Arms Trade (CAAT) had sought an order to block export licenses for British-made fighter jets, bombs and other munitions which it said the Saudi-led Arab coalition was using in a campaign against Iranian-backed Houthis in Yemen’s civil war.

An annual report by U.N. experts who monitor sanctions and the conflict in Yemen, seen by Reuters in January, said the Saudi-led coalition acting in support of the Yemeni government had carried out attacks that “may amount to war crimes”. Riyadh rejects those accusations.

Yemen’s civil war started in 2015, pitting the exiled government of President Abd-Rabbu Mansour Hadi, backed by the Saudi-led coalition, against the Iran-aligned Houthi group, which controls most of northern Yemen, including the capital, Sanaa.

The United Nations has put the civilian death toll in the conflict at about 10,000 killed and 40,000 wounded as result of actions by all sides.

More than 100 people were killed last October when coalition planes bombed a funeral reception in Sanaa. Hospitals, port facilities and other infrastructure have also been hit.

CAAT had argued that the government’s decision to allow arms exports to continue to Saudi Arabia, a major customer for British defense companies and an important British ally in countering terrorism, was unlawful.

“The claimant’s claim for judicial review is dismissed,” the High Court judgment said.

The court, which heard much of the government’s case in hearings closed to the media and public, said there had been extensive political and military engagement with Saudi Arabia regarding operations in Yemen and the Saudis had “sought positively to address concerns about International Humanitarian Law”.

“Saudi Arabia has been, and remains, genuinely committed to compliance with International Humanitarian Law; and there was no ‘real risk’ that there might be ‘serious violations’ of International Humanitarian Law (in its various manifestations) such that UK arm sales to Saudi Arabia should be suspended or canceled,” the court said.

Trade minister Liam Fox said that Britain would monitor the situation in Yemen and would stop granting export licenses and suspend current licenses if the risk of violations increased.

The court also said the British government had access to “a wider and qualitatively more sophisticated range of information than that available to the claimant’s sources”, although campaigners said the evidence they had gathered should be taken seriously.

“The suggestion that human rights researchers were rarely or never on the ground in Yemen, or relied on ‘second-hand information’ ...is not true,” Human Rights Watch said in a statement.

CAAT said it would appeal against the decision, and the leader of the opposition Labour party, Jeremy Corbyn, heavily criticized the government for its trade with Saudi Arabia.

“The government continues to sell arms to Saudi Arabia, one of the most oppressive and brutal regimes, that finances terrorism and is breaching humanitarian law,” Corbyn said.

“The courts may have ruled that the government acted legally; it certainly is not acting ethically.”