How does the judiciary maintain independence in politically sensitive cases involving high-profile individuals?

With several court cases involving politicians and public figures, I want to explore how the Indian judiciary ensures impartiality and public trust, especially when there is political pressure or media attention.