In Dublin airport there is no transit area to remain in. You must leave the airside, progress through immigration and customs, and formally enter the country before heading upstairs to the departures area and re-enter through security for your onward flight.