ROCKPORT — The fate of an under-construction hotel in downtown Rockport may become clearer following a hearing that was scheduled.

Justice Bruce Mallonee is scheduled to hear arguments Oct. 4 in the Knox County court in the case of the legal challenges filed by neighbors to the 26-room hotel being built at 20 Central St.

In July, Justice Mallonee declined a request by neighbors — appealing the town approval — for a preliminary injunction and stay that would halt further work at 20 Central St. The judge also rejected the town of Rockport’s request to dismiss an appeal of its approval.

But Justice Mallonee again warned the hotel developer — 20 Central Street LLC — that it was taking a risk to continue with construction.

“Although the court has declined to issue a preliminary injunction or stay, and declines to do so today, it has signaled to 20 Central with what it hopes is unmistakable clarity that in the event either set of plaintiffs prevails, and the court is required to assess remedies, it will not restrained by the risk 20 Central assumed by continued construction as these cases were pending,” Justice Mallonee stated in his ruling issued July 14.

He added that the neighbors’ concerns were not fanciful.

Written briefs and replies were filed with the court ahead of the Oct. 4 hearing for oral arguments.

Neighbors John Priestley, Mark Schwarzmann, David Barry and Winston Whitney filed the appeal to the court over the town’s approval of the 20 Central Street LLC hotel at 20 Central St.

The neighbors contend in the court appeal that the Planning Board failed to properly apply several standards in the town’s land use ordinance. Those errors, according to the lawsuit, are not protecting the scenic view from the main road; a parking deficit downtown was not considered; and the board did not find there would be no nuisances from the hotel in terms of lighting and noise.

The Planning Board approved the 26-room proposed by Stuart, Marianne and Tyler Smith at 20 Central St. at a Feb. 27, 2020, meeting. The number of rooms were reduced from the originally proposed 35 to 26, due to public input. Residents, however, launched a petition drive to further restrict the hotel.

The neighbors asked the court to determine whether the hotel must adhere to two new ordinances — approved by voters at an Aug. 18, 2020, town meeting. One of those set a cap of 20 rooms. The ordinances would have been retroactive to before the Planning Board approval.

Justice Mallonee pointed out in an earlier ruling the complexity of the case because the citizens’ petition drive to amend town ordinances was scheduled for the regular June town meeting vote, but was postponed because of government-imposed precautions against the spread of COVID-19.

The delay exceeded the 45-day period for the town to amend the Planning Board’s approval.

The town issued a building permit March 10.