Just wish to make sure of something: in the circuit below, it makes no sense to speak of "the voltage at \$B\$ with respect to ground" without specifying which ground we are speaking of, right?
Since, voltage at \$B\$ would be \$0V\$ with respect to to one ground, but \$9V\$ with respect to the other.
simulate this circuit – Schematic created using CircuitLab