I guess I would have to see the schematic to figure out how a diode is going to provide Galvanic isolation. I am an electrical engineer (retired), we must be talking about two different types of isolation!
A single diode is not going to give protection for isolation. A diode bridge such as the one below, would provide some protection but is prone to malfunction if there is any problems or spiking on the AC line!
|-----|<-----|<----|
------| |---------
|----->|----->|----|
This bridge goes in-line with the earth lead between the shore power plug on the quayside and the AC electrical system on the boat. Each diode in the isolator will drop around 0.6 volts before it starts to conduct. So 2 in series will require 1.2 volts before any conduction takes place. There are two diodes facing one way, and two facing the other way to enable AC fault currents to flow in both directions (thus tripping the circuit breaker or RCD).
This means that the galvanic currents (which are usually between 0.4 and 0.8 volts) which cause galvanic corrosion are blocked. They would have to exceed 1.2 volts in order for a current to flow. They never exceed this level due to the metals involved and the water. This is a simple method to offer some protection to prevent galvanic corrosion.
Obviously if any one of the diodes fails the system is not going to work! A simple method of checking them is separate them and with a volt meter you will get a reading (connection) in one direction and not in the other, just switch the leads on the meter around.
Keep in mind this is not real galvanic isolation, real isolation requires a transformer and control circuitry! It provide real isolation of the shore power from the boat!
In any case, galvanic isolation needs to left to the boat desigers and engineers to figure out!
Mike -