Section 14A. The owner of a freehold estate in possession in land may bring a petition in the land court against a city or town wherein such land is situated, which shall not be open to objection on the ground that a mere judgment, order or decree is sought, for determination as to the validity of a municipal ordinance, by-law or regulation, passed or adopted under the provisions of chapter forty A or under any special law relating to zoning, so called, which purports to restrict or limit the present or future use, enjoyment, improvement or development of such land, or any part thereof, or of present or future structures thereon, including alterations or repairs, or for determination of the extent to which any such municipal ordinance, by-law or regulation affects a proposed use, enjoyment, improvement or development of such land by the erection, alteration or repair of structures thereon or otherwise as set forth in such petition. The right to file and prosecute such a petition shall not be affected by the fact that no permit or license to erect structures or to alter, improve or repair existing structures on such land has been applied for, nor by the fact that no architects' plans or drawings for such erection, alteration, improvement or repair have been prepared. The court may make binding determinations of right interpreting such ordinances, by-laws or regulations whether any consequential judgment or relief is or could be claimed or not.