Drinking can work as a proxy for belonging or not belonging to certain religions. There must be at least enough standing to challenge such a policy in court, if not win the case. Of course the correlation is not r=1, but it is high enough to question whether religion is being targeted by proxy.
Which reminds me that not consuming nicotine and caffeine could be a proxy for being Mormon. So those policies might find their way into courts as well.