Cheapest way i think you can deal with this is to wire your solar 240v micro inverters for two sets of three phases, and connect them directly up to a sine wave filter and a cheap 5hp VFD. don't worry about blowing the vfd up, the solar inverters will only produce power after the vfd turns on and produces 57-63hz and 200-265vac.. (or whatever the limits are)
Upgrade the 5hp to a 10 later, after the system works and it doesn't blow up.
Run your utility AC directly into the vfd inputs as well. a brake resistor is needed, able to handle the full rated wattage of the solar panels production. so initially, only hook up half the panels. or a third, or a sixth. it doesn't much matter.
if/when the solar produces enough power to overvolt the vfd, the vfd will shut down, and the solar inverters will shut down. nothing will be harmed.
so anyhow, you now have multiple options for getting power out of this system.
you can load the 400 volt dc bus (which will vary between 340volts dc when the power demand exceeds the solar, and the utility starts providing power)
or it will climb as high as 450 volts, the upper limit of what the vfd will turn the brake resistor on. the voltage at the 3 phase output will stay the same at the programmed volts and hz.
some vfds are better than others, there will be some variation in that 240vac but not much. maybe 235-245 depending on the voltage of the dc bus.
so, anyhow you can load the vfd from the dc bus at 338-450volts dc, which isn't really what you want to do, or you can load the 3 phases from the solar panels.
as long as the total current flowing through the three phases is less than the vfd ratings, you can have a single phase load of 30 amps on two phases, while 10 amps flows into all three. the vfd only has to handle the reactive current and the difference between what the solar produces and your load consumes.
so anyhow, what you then do is setup a bank of transfer relays to move your loads from the VFD phases to the utility phases.
the VFD will not be synchronized to the ac mains, so you have to have a double set of relays that can't accidentally connect the two systems together.
but basically, this will only cost you 250$ for a VFD, probably 100$ worth of copper if you do an air coil inductor for the LC filters.. 20$ worth of capacitors to clean up the vfd output.. and you'll need a 5KW 400 volt rated resistor.. furnace heating elements are ok for that.
and then there is the cost of the transfer panels.
a 12 circuit non automatic generator transfer switch could be installed by an electrician..
you then add 12 solenoids to drive the switches from a current sense transformer and some other data inputs to determine which circuits to transfer over to the solar, or not.