When a fault occurs (say a battery fluid leak to the chassis) and is detected, a mechanical relay has to open to disconnect the power from the grid. That can take 200 ms or so, which is a long time to have 400v flowing through you.
This would increase the cost, but by many times less than the insulated power converters used today.