Thank you for your suggestion about the immobiliser. In fact the fault is still there when I changed the relay, and with both of the ignition keys.
The engine always starts from cold and will run quite happily all day at 90 degrees with the thermostat open, but as soon as the temperature goes a fraction above 90 the computer shuts it down by de-energising the fuel pump relay and will not close the relay contacts until the engine has cooled for 10 minutes or so.
If I close the relay by thumb or by directly earthing the relay coil I bypass the half-witted computer and the car runs again, but with the temperature fault light on the dash board and the right hand blower (outside the AC condenser) running instead of the left hand one (inside the radiator). The left hand blower does in fact work when I disconnect the temperature sensor.
Any suggestions?