Judiciary and democracy