New York City’s limit on the size of sugary drinks is an “extraordinary infringement” on consumer choice, a lawyer for the American Beverage Association and other critics said in court on Wednesday.

“New Yorkers do not want to be told what to drink,” attorney James Brandt told Manhattan state Supreme Court Justice Milton Tingling. Opponents also are raising questions of racial fairness alongside other complaints as the novel restriction faces a court test.