What happens if an inverter neutral is bonded to earth
It's not OK to back-drive your panels like you show without a specialized disconnect (called a &quot;transfer switch&quot;).   Reason is, if you are driving power backwards, then the guy working on your pole during a blackout could get electrocuted.  The power company does not trust you to shut off the main breaker first.
It's not safe, don't do it.