You can have an elected parliament that makes laws, but if the judiciary is appointed by the Supreme Leader - who is a representative of God - then you're kind of at an impasse.