|Freed ICC Staff [Photo:Reuters]|
They arrived in the Netherlands late on Monday night, the ICC said.
The team had been accused of spying while visiting Saif al-Islam Gaddafi, son of deposed Libyan leader Muammar Gaddafi, in the town of Zintan.
The ICC team flew out on an Italian military aircraft following a two-hour drive from the town of Zintan, says the BBC's Rana Jawad, in Tripoli.
They are still scheduled to appear before a court in Tripoli on 23 July for a final ruling on their case, a senior member of the Libyan attorney-general's office told the BBC.
"We expect them to come back for the hearing but if they don't, a ruling will be made in absentia," the source said.
During a news conference in the mountain town of Zintan, west of Tripoli, Mr Song offered an apology to the Libyan authorities for the "difficulties" caused by the mission.
He also thanked the Libyan authorities for their agreement "to release the Court's staff members so that they can be reunited with their families".
Mr Song "expressed his relief that the ICC staff members were well treated during their detention".