It’s possible to pass AC without shorting DC, just takes a capacitor.
And it’s highly likely to design a dc solar input with a capacitor across + and - if you think about it.
If you have one, all I did was measure AC voltage from the inverter case(earth gnd) to solar + and solar -, both show...