A federal judge has ruled that New Jersey’s law barring restaurants from advertising “bring your own beer” policies is unconstitutional.

The state ban on advertising policies that allow patrons to bring their own beer and wine to restaurants, known as BYOB, “places a content-based restriction on speech that fails strict scrutiny because it is not supported by a compelling government interest nor is it the least restrictive means of achieving the government’s stated purpose,” U.S. District Judge Joseph Rodriguez of the District of New Jersey ruled in GJJM Enterprises v. City of Atlantic City.