The court may decline to make an ineffectiveness order when it believes that there are overriding interests that require obligations under the contract to be maintained, but, if the court declines to make an ineffectiveness order, it shall require the public body to either pay a financial penalty or shorten the duration of the contract.