The ruling is likely to stymie public health initiatives, experts said.