FILE PHOTO: Former Ivory Coast President Laurent Gbagbo appears before the International Criminal Court in The Hague, Netherlands, January 15, 2019. Peter Dejong/Pool via REUTERS

THE HAGUE (Reuters) - International Criminal Court judges on Wednesday rejected a prosecution request to extend the custody of former Ivorian leader Laurent Gbagbo following his acquittal on charges of crimes against humanity.

Calling the prosecution case “exceptionally weak”, the judges said Gbagbo had given assurances he would return to the Hague-based court if ordered to do so.

Gbagbo spent more than seven years in custody during his trial, which dealt with allegations of involvement in election- related violence in Ivory Coast in 2010 and 2011 in which some 3,000 people were killed.

Wednesday’s decision paves the way for the speedy release of Gbagbo and co-defendant Charles Ble Goude from a detention facility in The Hague.

Prosecutors said they would appeal the decision and that there could be a retrial, but the panel of judges said the defendants could no longer be held in custody following their acquittal.

Presiding Judge Cuno Tarfusser said two out of three judges believed the case against Gbagbo and his co-defendant to be so weak that it was unlikely their acquittals would be overturned on appeal.

The two men will be released after “logistical and diplomatic arrangements” have been made, Tarfusser added. Discussions were continuing with court member states.