The former president of the Philippines is appearing before the court over his deadly war on drugs.