Between the phasing out of analog meters (the latter half of the last century) and the introduction of smart meters (2010), a lot of electronic prepayment meters produced for the UK market would set a tamper flag if they detected power flowing backwards through them, as a proxy indication of an attempt at electricity theft. These meters will refuse top-ups in this condition, requiring you to contact your energy supplier to sort it out, leaving you without power until you do and then exposing you to scrutiny when they arrive.
Pre-smart non-prepayment electronic meters (for those with old meters, still submitting manual readings, and paying by direct debit) will be fine. Most of these meters, and all smart meters, are inherently bidirectional, because they maintain 4 counts (energy imported and energy exported, in kWh and kVARh) and your energy provider will do all the necessary math to figure out what to actually bill you for (residential customers are not billed for kVARh usage).
The UK government in 2011 announced plans to have 50 million smart meters installed by the end of 2020. In typical overpromise underdeliver government fashion, they didn't even achieve half of that; by then, only 23.6 million had been installed, and of those, 4.5 million had stopped working because they were initially (and stupidly) designed to be tied to a specific energy provider and the customer had changed provider. This even affected me.
Nevertheless they'd still accurately track energy consumption and export even if they'd lost their reporting capability, so you have nothing to fear here. This situation has been rectified at the redesign stage with provider-independent SMETS 2 meters, and all SMETS 1 meters still in service have been hotpatched to bring them into line (restoring their smart functionality regardless of provider).
Even today (well, as of last September), this number is only 40 million, with only 36.7 million of them actually working as designed (reporting readings automatically).
This leaves up to 16 million properties with a meter that may stop working and expose you to a theft investigation when you obtain generation capacity that even momentarily exceeds your usage (for example if you have a dual RCD board and one of the RCDs trips, taking out half of the circuits in your home, but not the one the inverter is plugged into).
Realistically the true figure is probably around a quarter of that; prepayment meters were very popular among the renting population of the time, and those who wanted to track their energy usage carefully and only pay for it with cash as and when needed, and sometimes people had these meters forced upon them by suppliers after the customer had demonstrated poor payment history, but they were far from the norm.
Average home owner buying plug-in solar at a supermarket isn't going to know or care about any of this. They'll just plug it in, and it will work, until one day maybe it doesn't and their supplier opens a theft investigation.
Why would power flowing out of my house into the grid be a theft?
I feel like the meter suddenly "breaking" is the substantially larger inconvenience. Presumably the supplier will raise an eyebrow at the flag, glance over the place, see the solar setup and get on with life. At least one would hope. They must have seen this a time or two by now after all.