I disconnected all the poles of the fan.
If I switch off main switch, move rcbo to on, then main switch to on, rcbo trips immediately.
One more thing: when I removed the cover from the fan terminal block I found a small pool of water in the cover which must have come from the fan itself, since...