A judge has found a conflict of interest in a New Jersey shore town's ordinance that restricts overnight parking.

Point Pleasnt Beach sign (Borough of Point Pleasant Beach)

The judge says Point Pleasant Beach Councilman Michael Corbally should have abstained from voting because he sells real estate in the town.

Mayor Vincent Barrella tells the Asbury Park Press the town will appeal the ruling and seek a stay to keep the parking restrictions in place.

Attorney John Jackson says the ordinance should never have been enacted.

The parking ban likely would not have been adopted had Corbally abstained in March because the council was split 3-3. The mayor, who only votes when there's a tie, agreed with the restriction.

The town reserved overnight parking in one section for residents only to reduce noise from people leaving the boardwalk.