Duterte will be brought before an ICC judge in The Hague in the coming days for an initial appearance, court says.