Check this out. During prohibition, you could legally obtain booze by your doctor giving you a prescription. Not only that, farmers were permitted to make wine for their own consumption (I wonder why that was) and religious leaders could use it for religious purposes.
This privilege was one of the few legal exceptions to the 13-year ban on the production, sale and distribution of alcohol, initiated in 1920 by the 18th Amendment. The National Prohibition Act, which enforced the ban, also allowed farmers to produce wine for their own consumption and priests, ministers and rabbis to serve it during religious ceremonies.