N.Y. Civil Practice Law & Rules § 501
Subject to the provisions of subdivision two of section 510, written agreement fixing place of trial, made before an action is commenced, shall be enforced upon a motion for change of place of trial.