Yes exactly. If a big enough percentage of the population is immoral your "freedom" is going to be a walled compound with you working your ass off to grow your own food. Freedom baby!
Part of the issue here is assuming everyone will have the same laws. People today interact with different laws (traveling to a different country).