As others have said, it's not only Dublin. Amsterdam will confiscate bottles from in-transit passengers which were bought at the original point of departure, even if correctly plastic bag sealed etc. I've never tested the system but suspect the same applies at Heathrow
A pain but that's life these days. And how much has the taxpayer now spent to keep Abu Whatshisame in the UK?