There is disagreement among the various scholars and schools of thought on how the government should function and how laws should be made. Clearly, peaceful dialogue is preferable both from an Islamic and from a rational perspective. Since Islam does not have a final authoritative spokesperson, there is no easy answer or solution to this question. The only plausible solution is to follow the majority in the hope and expectation that the majority has more chances of being right and correct than does the minority. Some Muslim groups or individuals are bound to believe that they and they alone are right and those who disagree with them are wrong, however they have no religious basis to this claim other than their own convictions.
Democracy means that the majority rules and that the rights of the minority are protected.
Therefore a holder of a minority opinion does not feel threatened on account of his or her opinion, and each minority opinion has hopes of becoming the majority using open dialogue and persuasion. Democracy is not a perfect system but it offers the best type of government that can solve the real problems and address the real needs of the people. Democracy is not an ideal, it is an instrument to achieve a higher goal which is justice, peace, equality, and rule of law. Democracy is an old concept. It was not invented in the West nor is it tied to any particular civilization or culture.