Let me be clear, I'm not advocating breaking any laws. lol
Say, for example, a country makes it a crime to keep kosher or wear head coverings inside buildings.
Throughout history we've been forced to assimilate through laws that force conversion, or laws that make Shabbat illegal, and etc so there exists a precedence.
Are we obligated to follow such laws? If so, then to what extent? And if not, does an alternative exist to fleeing the country?