They are the victims of Goodhart's law. The contract unambiguously said it would be decided by the reading of that particular thermometer.