Many religious sects, here in the US, have been required to change and adapt their rites, rituals or customs when in conflict with law. Islam doesn't get a free pass with compliance.
Go back and study the arguments for banning the burqa nationwide in France. One component of the French...