When a domestic solar system is installed, the DNO supply and inverter supply are physically connected in the same terminal block, supplying the house load.
When the sun is shining and/or the batteries able, the power controller of the solar power system will ensure the load of the house is supplied (up to its limit)
If the solar system has the capacity to supply the house load, what prevents the DNO supply from supplying power to the house load as well (an thus the DNO charging), as the two supplies are connected?