I would have thought that the switch in a mains socket, especially one designed for outside use, would be double-pole (ie it switches off both live and neutral), so it wouldn't have mattered if contact was made between the neutral and earth wires of the cable from the plug to the appliance. But I could be wrong. Maybe only the live was switched off, and the neutral-earth contact was what triggered the house RCD.