Discuss the roles and responsibilities of the judiciary in upholding the principles of democracy.

Examine the judiciary's crucial role in ensuring the legal framework aligns with democratic ideals.