A contract is a contract.  And real estate value is determined by what someone is willing to pay for the property.  If the state overstated the potential sale price of the plant, they were wrong and the court was right.