The Judiciary as Gatekeeper of Democracy