If any provision of this Agreement is held by a court of law to be illegal, invalid or unenforceable, (a) that provision shall be deemed amended to achieve as nearly as possible the same economic effect as the original provision, and (b) the legality, validity and enforceability of the remaining provisions of this Agreement shall not be affected or impaired thereby.