How do defamation cases involving politicians impact public trust in the judiciary?

The dismissal of a defamation case filed by the wife of an AAP leader against a Union Minister raises questions about the perception of justice in politically sensitive matters. I want to understand how such cases affect the credibility of courts and public faith in the legal process.