Also, the one member of the indian bureaucracy who dared to question Modi's role in the riots - Sanjiv Bhatt - was sentenced to life in prison.
I am not sure what the poster here is insinuating with the claim that the case was tried under a different government. In no reasonable democracy are the courts swayed by politics.
Court judgements are made by humans and humans err. This is not the binary you are making it out to be. Indian courts are hamstrung by the rest of the Indian legal system and are routinely used to silence dissent and harass the small fry.
All judicial appointments need to be approved by the government. Retired judges get plum political appointments including to the Rajya Sabha.
The Centre refused to appoint Saurabh Kirpal because he is openly gay. This isn't some wild conjecture, this is the official government position: https://www.barandbench.com/news/law-ministry-says-saurabh-k...
Maybe in movies.