Yes, but you weren't travelling within Ireland after going to US Pre-clearance in Dublin.Not so sure, I recall encountering US border posts in Dublin Airport on my way to New York. Most countries afford sovereignty to foreign embassies within their own jurisdiction.