W4 6207 then FR 494 at Madrid
Rome → Madrid → Dublin
Timetable, Madrid time
11:55W4 6207 from Rome at the gate
07:50FR 494 to Dublin leaves the gate
19 h 55 apart on the timetable, overnight
FR 494 leaves 19 h 55 after W4 6207 arrives on the timetable: more than half a day, so not a connection we count.