Constitutional expert Abdul Aziz Bari has advised the police to be mindful of the law and not to act in a "mechanical" fashion.