Obeying The State Laws Against Islam
If the religious injunction is a compulsory one, like saying prayer or keeping fast, Muslims are obliged to follow their religion, but still they are allowed to even utter a word of kufr if they are forced to avoid loss of life or other harm. However in such cases, they are obliged to migrate from that land if there is no other option to change the law or find concession in the law. But if the religious injunction is not a compulsory one, or it has more than one interpretations as is the case of Hijab, they are not obliged to follow it if circumstances are not favourable. However, if they feel it is violation of their freedom and religious freedom, they should take the legal and democratic course to change the law of find concession in it.