If the delivery person told me to keep them and there would be no charge for them then I would have done so.
I had similar a few weeks back only it was a lot more than two bottles of wine. I did a quick count, it was over £60 worth of mixed goods. I was told the same as you, it was Tesco’s mistake (apparently there were quite a few that day) and it was easier/cheaper for them to send the deliveries out as they were, rather than have staff spend a long time sorting it out.
I kept some of it, my daughter took some, rest went to Food Bank.