If, at the time of enforcement of any of the provisions of this Section 4.4, a court of competent jurisdiction determines that the restrictions stated herein are unreasonable under the circumstances then existing, then the maximum period, scope or geographical area reasonable under the circumstances shall be substituted for the stated period, scope or geographical area permitted by law, as determined by such court.