In India police mostly see themselves as keepers of peace and would use arbitrary force to keep things from escalating. Indian laws are complex and hence cops can do whatever they want without impunity.
Check what happened to this Australian [1]. Not only he was harassed by people but the police made him write an apology letter to those people who manhandled him. (All because the guy had a tattoo that offended other people.)
There are some other crazy things in India for example "Right to Education" law which basically forces to shut schools down if they do not comply with arbitrary clauses but only if the school is run by a Hindu. If the school is run by a Christian or Muslim the school need not comply with the law.