At least for Duke Energy, the largest utility in the States, you are in no danger with a grid tie inverter or generator. All line work is done with all 3 phases shorted with heavy gauge wire. Also remember, anything attempting to backfeed would also be feeding whatever portion of the grid it's still connected to, likely a huge load.