The head of state and other representatives are elected but they do not have uncontrolled power. What they may do is written in the constitution. If there is dispute about what the constitution means, this is decided by a court system that is independent from the representatives.