You must clear immigration at DUB.
Immigration Officer: How long will you be in Ireland?
You: In Transit
Exactly what to say. That should take care of it.
Remember,
always tell the truth. If the inspector presses you for details, explain about your MR. He might be surprised, but probably just shrug and let you through.