That was taken into account - outlawing regular wine use. The whole prohibition movement was started by those who had a religious objection to alcohol, and it snowballed from there.
When religions are in total conflict over certain issues, taking them into account is difficult, but under normal circumstances it can be done.