Internal Security Minister Abdullah Ahmad Badawi and the police had complied with all procedures leading up to the detention of the five Hindu Rights Action Force (Hindraf) leaders, the Kuala Lumpur High Court heard today.