Last month one of my adult children flew from Dublin to Portugal, and back again, with Aer Lingus with an expired passport for both legs. Then they had to fly home here to the continent and were not let thru by Ryanair as they spotted the passport was out of date. So they had to get to the Dublin passport office, I told them to get there before it opened in case there was a queue, which there was, but they were processed really quickly. There's a photo machine inside, but I told my child to go to the pharmacy close by as they take better photos and we wanted no issues due to the mess they were in. Had the passport by 2.30 pm and they flew home the next morning. This is a costly service though. As I was paying and giving my credit card details I got to speak to someone in the passport office, I'd no idea they could produce actual passports in that office as I thought it was only a separate very secure place. Obviously this is for emergencies only.