It can be an awkward order for a pregnant woman: A glass of merlot, please.

But she is legally entitled to it, according to New York City.

For the first time, the city is explicitly prohibiting restaurants and bars from refusing alcoholic drink orders to mothers-to-be, with new guidelines that say doing so would represent discrimination under the city’s Human Rights Law.

“While covered entities may attempt to justify certain categorical exclusions based on maternal or fetal safety, using safety as a pretext for discrimination or as a way to reinforce traditional gender norms or stereotypes is unlawful,” the guidance released by the Commission on Human Rights on Friday says.

That would also apply to foods deemed risky during pregnancy, such as raw fish or soft cheese. But it’s alcohol consumption by pregnant women that has long driven the touchiest debates over private etiquette and public policy.