Why is maintaining confidence in the judicial system crucial for a functioning democracy?

Analyze the impact of public perception on the effectiveness of the judicial system.