N.Y. Business Corporation Law § 203
(a) No act of a corporation and no transfer of real or personal property to or by a corporation, otherwise lawful, shall be invalid by reason of the fact that the corporation was without capacity or power to do such act or to make or receive such transfer, but such lack of capacity or power may be asserted: