Said in context it meant that if religion conflicts with the law the law takes precedent.
I can only agree to that if the law is conflicting with religion only for the purpose of protecting another fundamental right. If, to use an example from France, a school has a dress code require no headwear of any kind because they believe it makes for a more respectful atmosphere, then exceptions must be made for people who can show they have real religious objection, whether they be Sikhs, Muslims, Orthodox Jews, or certain Christian groups. Otherwise how can you argue that those people who believe God requires them to wear the headgear should remain peaceful? As was said by a guy protecting Jews in WWII (in violation of the law IIRC), I would rather be with God against man than with man against God.
If law is superior to one's beliefs than what is superior to law? Should all those Russians who resisted the Communists should be condemned for following their conscience rather than the law. Should all those Germans who resisted the Nazis should likewise be reviled? Is Lech Walesa a horrible person for breaking the law?