Hi,
Thanks for posting the resolution. I was just typing a reply which I have deleted.
The fact that the relays were still operating with the battery negative disconnected suggests that you may have a faulty earth connection. The power for to make the relays click must have come from somewhere, and as I presume that the vehicle is a motorhome that can only be from the habitation battery. If you have a faulty earth connection shared by the fan thermostat, and somthing connected to the habitation battery, then it is possible for current to ground via the fan relays, and something else controlled by the ignition switch. Given the age of the vehicle this seems quite possible. May be difficult, but if possible trace and check the earth connection for the thermostat.