First, I will repeat that 2nd to last sentence of that previous post....
Anyway, you are right, the judge can close the business down.
However, if something is "outlawed" it would be illegal at your home as well as a civil matter (and still criminal) at your business. This doesn't even merit a civil matter at your house, it is certainly not "criminal" nor is it "outlawed".
I keep bringing up the home because it makes it clear the difference between a civil matter (one that you can be sued for, or have judicial injunction, but cannot be arrested and tried for) and a criminal matter (one you are arrested and tried for with a result of either guilty or not).
Your business (and you if you weren't smart enough to put an LLC or a Corp between you and the business) can be sued if you throw somebody out for their race at a business open to the public (memberships can stop this from happening), but you will never be arrested and tried for it. At the most if you break an injunction you can be put in jail for contempt, but that is not a trial and is again not criminal law.
Now the criminal matter will be criminal regardless of where you are at, including your home or a private club that serves members only and rejects members for whatever reason...