The man was arrested after a suspected firearm was reportedly seen on a train arriving in Dublin on Wednesday evening.