There is a VAT threshold. If you sell below the minimum threshold in any given country in any given year, you don't care. GBP 85k or so in the UK currently.
Above the threshold, you have to register for VAT and pay it, even as a foreign entity. How they enforce it, who knows.