Things like this is why I think India has a very flawed political system, the executive is having too much power, and the Constitutional guarantees to citizens are flimsy, and courts including the Supreme Court are temperamental and inconsistent.
Civil law protections are insufficient as they are presently. Govt can put you in jail on flimsy grounds, but you can't sue for damages on wrongful imprisonment, etc. Most things are governed by criminal laws, where only remedy is punishment for the convicted, instead of having a strong tort law, where the aggrieved parties can extricate monetary damage claims.