View attachment 77222
Path A through the RCD carries the load current only.
Path B through the RCD carries the load current plus the fault current trough the drain current resistance D. The current through the RCD is therefore imbalanced and will trip the RCD.
The only current flowing is via the live and neutral connections.
No Ground reference needed

in fact the circuit is essentially what happens in an actual RCD with the resistor D being switched in by the test button and of course RCDs don't have an earth connection, connect up an RCD to a supply running through a mains isolation transformer and it'll still trip.
I repair valve amplifiers, I typically have to diagnose faults whilst the amp is switched on and internal voltages can exceed 550VDC which is potentially lethal enough without having a mains live and neutral present inside the amp to worry about as well so my 'repair' supply consists of a 1kW mains isolation transformer followed by a Variac so I can adjust the supply voltage followed by an RCD. Because of the isolation transformer I no longer have a live and neutral, just a bi phase floating 240v AC supply BUT The test button on the RCD still trips the RCD open and obviously nothing flows to or through ground or a grounding connection.