The constitution is not determined by the state, it is ratified by a democratic vote. Sometimes this vote is conducted by representatives, and sometimes by popular vote.
I feel like you are missing a vital part of your understanding on how liberal democracies were founded and how the balance of power is distributed between the people and institutions that govern them.
I feel like you are missing a vital part of your understanding on how liberal democracies were founded and how the balance of power is distributed between the people and institutions that govern them.