Meaning what? The law extends to public statements which clearly discourage, even if they aren't enforced by denial of entry on the day.
Seems clear enough why this is the case: advertising with, say, No blacks allowed is prohibited, even if you don't enforce this policy on the day.