Sorry that's not correct, I missed out an important bit. When the EHU is disconnected, the relay connects the inverter neutral wire to the socket earths and chassis. When the EHU is connected, the relay switches off, disconnecting the neutral from the earth. However the EHU connection immediately takes over, because the incoming neutral and earth will be connected already, either at the post, the site supply or the substation. So the neutral and earth are always connected together, one way or the other. And the earths are always connected to the chassis.It may help to know that on the Victron Multiplus 2 inverter/charger, the inverter and charger are closely integrated. There is a built-in transfer switch to switch between grid power and inverter power, and even mix the two power sources together if required. For the earthing arrangement there is a relay that automatically connects the incoming mains earth to the socket earths and the chassis. When EHU is disconnected, the relay switches off and the inverter earth is isolated. There is an option to override this in the software controls.