@scollovati that's a safety feature (to avoid sending back energy to the grid when it's supposed not to be live, and prevent accidents to the people working on it), and it doesn't necessarily mean that the meter will actually *see* the energy that gets self-consumed.
Devices that allow self-consume even when there is a grid outages do exist and are legal in Italy, but they are an additional expense that very few people add to their systems.
(Besides, you don't really *have* to connect the panels to the grid, you are perfectly allowed to be fully off-grid, but then of course you don't get the advantage of being able to get energy from the grid when there isn't enough sun)