While contractual limitations on liability are enforceable, they do not, as a matter of public policy, extend to conduct that is grossly negligent.
S.A. De Obras y Servicios, COPASA v. Bank of Nova Scotia, NY Slip Op 01706 (March 12, 2019)
Here is the decision.