Notwithstanding any contrary provision of law, any municipality located within the Port of New York District is authorized and empowered to consent to the use by the Port Authority of any marine terminal owned by such municipality or of any real or personal property owned by such municipality and necessary, convenient or desirable in the opinion of the Port Authority for marine terminal purposes, including such real property as has already been devoted to a public use and as an incident to such consent, to grant, convey, lease or otherwise transfer to the Port Authority any such marine terminal or real or personal property upon such terms as may be determined by the Port Authority and such municipality. Every such municipality is also authorized and empowered to vest in the Port Authority the control, operation, maintenance, rents, tolls, charges and any and all other revenues of any marine terminal now owned by such municipality, the title to such marine terminal remaining in such municipality. Such consent shall be given, and the execution of any agreement, deed, lease, conveyance or other instrument evidencing such consent or given as an incident thereto shall be authorized in the manner provided in Article XXII of the compact of April thirtieth, one thousand nine hundred and twenty-one, between the two States creating the Port Authority.
The States of New Jersey and New York hereby consent to suits, actions or proceedings of any form or nature in law, equity or otherwise by any municipality against the Port Authority upon, in connection with or arising out of any such agreement, agreements or any modification thereof or supplement thereto, for the following types of relief and for such purposes only:
When rules of venue are applicable, the venue of any such suit, action or proceeding shall be laid in the county or judicial district in which the marine terminal, which is the subject matter of such agreement between the Port Authority and such municipality, or any part thereof, is located.
If any clause, sentence, paragraph, or part of this subdivision or the application thereof to any person or circumstances, shall, for any reason, be adjudged by a court of competent jurisdiction to be invalid, such judgment shall not affect, impair, or invalidate the remainder of this subdivision, and the application thereof to any other person or circumstances, but shall be confined in its operation to the clause, sentence, paragraph or part thereof directly involved in the controversy in which such judgment shall have been rendered and to the person or circumstances involved.
N.J.S. § 32:1-35.31