It's a writ small version of the situation that you see with, e.g. Bangladesh. The voting populace there is very conservative, and despite the constitution creating a secular republic, voters have Islamized the country since then. A few years ago, there was a touchy situation where there was concern an interim military caretaker government would not hand back power to the civilian government once elections were conducted. People like my parents (who immigrated to the U.S. from there) who think secular democracy is really important, kind of supported an undemocratic military intervention that might have the effect of protecting it.