If you buy stamps from the Royal Mail directly online, perhaps they would keep a register of who bought which stamps.
If you buy stamps from a shop, perhaps a register is kept of which stamps were given to which shops.
I don't know how likely any of this is, but it can definitely make stamp purchases more traceable than without the barcodes.