accordingAccording to this verse Muslims have no right to impose religion to others. butBut please note freedom of religion (beliefs) and establishing Islamic state have no conflict with each other. theThe best example is that many Jews and Christians and even idol worshipers were living freely at the same city of prophet and Muslims and prophet did not impose Islam to them. whenWhen an Islamic state is established there are some social laws made for people that all should respect them like laws in the any non-Islamic country but this does not mean all the people leaving in that Islamic state are imposed to accept Islam. theyThey can be non-Muslim and believe in anything they wish but only should respect only to public laws of state. anywayAnyway any state has some laws that is lined with basic ideologies of its rulers.
Another note is about duty of establishing an Islamic state. according to Islam when there are the minimum number of serious Muslim supporters required for establishing an Islamic state in a society, so establishing the Islamic state become obligatory for them. andAnd if the mentioned number is less than the min. required it is not obligatory. thisThis law has nothing to do with being majority or minority. butBut it depends only to determining that if there are enough serious supporters who can form the required power to establish Islamic state or not. Indeed such movements can have political dangers for Muslims living in such a society. soSo according to Quran if in a society exposing the beliefs can have danger of death for Muslim but has no benefit for Islam so the Muslim has the duty to hide his beliefs from public:
Exactly same as what did messenger of Allah did at first 3 years after recurring his first revelation in Mecca and only secretly invited trusted people to Islam without having any public political movements. butBut when he found enough supporters he declared his movement against the pagan state of that time publicly that resulted in actions against messenger SAWW and Muslims and they became enforced to live out of city and Meccans were banned to have any relation with them even selling food to them. so some of Muslims died from hunger during those sanctions.
Please note in establishing an Islamic state Islam has problem only with heads of non-Islamic states who resist and fight against inviting their people to Islam and establishing Islamic state. butBut Islam has no problem with people if they accept or not accept Islam. accordingAccording to Islam people should be always free in religion. butBut heads of states are different problem and should be deal with proper methods like the letter messenger of Allah Muhammad SAWW sent to Kings of two main superpower of world at 1400 years ago i.e. Roman empireEmpire and Persian empireEmpire the only two main power of that time. andAnd finally if they do not accept Islam logically Islam has Jihad for such Kings and dictators who are enemy of God.
In Arabic language the word for State is حکومت which its root is ح ک م and the word حکم in this verse is exactly the root for state and means:"The “The decision/command/government/judgement is only for Allah." The main function of state is decision making. andAnd any decision in state or government which is not Islamic is rejected in this verse.