It certainly wasn't a rational decision, as defined by the Scotus. The town did not operate in its own best self interest, ie, increasing its worth for the benefit of all its citizens.
I think the decision should be appealed....maybe all the way to the Supreme Court.
Nice...lets go "rational" all-the-way, baby...