By MIKE CORDER Associated Press

BRUSSELS (AP) — In a decision decried as a “devastating blow for victims,” International Criminal Court judges on Friday rejected a request by the court’s prosecutor to open an investigation into war crimes and crimes against humanity in Afghanistan and alleged crimes by U.S. forces linked to the conflict.

In a lengthy written ruling, judges said an investigation “would not serve the interests of justice” because an investigation and prosecution are unlikely to be successful as those targeted, including the United States, Afghan authorities and the Taliban, are not expected to cooperate, the court said in a statement.

In this Thursday, Jan. 28, 2016, file image, Chief Prosecutor Fatou Bensouda waits for the start of the trial against former Ivory Coast president Laurent Gbagbo at the International Criminal Court in The Hague, Netherlands. (AP Photo/Peter Dejong)

The decision does acknowledge that the November 2017 request from Prosecutor Fatou Bensouda to open a probe “establishes a reasonable basis to consider that crimes within the ICC jurisdiction have been committed in Afghanistan and that potential cases would be admissible before the Court.”

The decision comes a month after U.S. Secretary of State Mike Pompeo said Washington would revoke or deny visas to ICC staff seeking to investigate alleged war crimes and other abuses committed by U.S. forces in Afghanistan or elsewhere. Bensouda’s U.S. visa already has been revoked.

Her request to open an investigation said there is information that members of the U.S. military and intelligence agencies “committed acts of torture, cruel treatment, outrages upon personal dignity, rape and sexual violence against conflict-related detainees in Afghanistan and other locations, principally in the 2003-2004 period.”

She also said that the Taliban and other insurgent groups have killed more than 17,000 civilians since 2009, including some 7,000 targeted killings.

She alleged that Afghan security forces have tortured prisoners at government detention centers.

Bensouda, who first started looking into crimes in Afghanistan in 2006, did not immediately comment on the rejection, which she can appeal.

The court said in a statement that the shifting Afghan political scene since then, the lack of cooperation prosecutors have received so far and the likelihood that cooperation would diminish further if a full-blown investigation is opened combine to hamper the chances of a successful investigation and prosecutions.

Judges said the court needs to “use its resources prioritizing activities that would have better chances to succeed,” according to an ICC press release.

Human Rights Watch slammed the ruling, calling it “a devastating blow for victims who have suffered grave crimes without redress.”

“The judges’ logic effectively allows states to opt out on their obligation to cooperate with the court’s investigation,” said Param-Preet Singh, the group’s associate international justice director. “This sends a dangerous message to perpetrators that they can put themselves beyond the reach of the law just by being uncooperative.”