The court has been investigating whether President Rodrigo Duterte committed crimes against humanity in the course of his drug crackdown.