The International Criminal Court has allowed the prosecution to introduce as evidence a prior testimony of one of its witnesses against former president Rodrigo Duterte.