I've been involved with wiring new data centers. I'm of two minds here. My first thought is, you are thinking in apples and oranges here. A data center is a huge undertaking of incoming utility power, (often dual feeds from different parts of the grid, or even two grids) a massive battery bank that only needs to function for seconds, and diesel generators that take over as soon as they are running, stabilized at the correct speed and frequency. So, it essentially has little to do with your situation, and cost mega-dollars per KW to install. The other thought is that, you are correct, a straight relationship between grid-battery-PV could be designed with zero lag as it bounces back and forth, and should be possible to be controlled digitally, with little mechanical switching or drama.
So, at that point I would think it comes down to safety. Utilities are obsessed with accidential customer backfeeds, and rightly so. There have been many lineman killed in the past when moron homeowners backfeed utility lines during a power outage. As a result, a lineman who has been working for 20 hrs. straight, in shit conditions, and is trying to get a patch of overhead lines back together, when he makes a fatal error. He looks left, and sees where the primary wires are severed by a tree. He looks right, and sees the same thing. He gets up in the bucket to repair a section that is obviously dead, and is electrocuted as he grabs the lines. What he didn't know is that some fool has a $99 harbor freight generator backfeeding that section of "dead" line, by illegally wiring his genny into his dryer outlet, without hitting his own service disconnect.
This leads me to my best guess on the issue. I would assume that utilities will not allow equipment that does not fully de-energize equipment on the utility side before transferring to battery back-up. So essentially a safety oriented design involving "if then" logic. Incoming utility power to the house is lost. If there is a mechanical disconnection from the grid, by opening a switch and confirming such, then the battery can tie to the customer side of the system and begin operating. This standard would prevent a situation where a system is drawing the batteries down to feed the home, while unknowingly still connected to the grid, and backfeeding the closest transformer, creating thousands of volts of energy on supposedly dead lines.
All of this BTW, is just my best guess. I'm sure there are a few members her, more knowledgeable on the topic that might have more to add.