A man in Dublin narrowly avoided a “worst nightmare” Christmas scenario thanks to the help of Gardaí.