FR 8973 then DY 2063 at Copenhagen
Pisa → Copenhagen → Riga
Timetable, Copenhagen time
14:15FR 8973 from Pisa at the gate
11:55DY 2063 to Riga leaves the gate
21 h 40 apart on the timetable, overnight
DY 2063 leaves 21 h 40 after FR 8973 arrives on the timetable: more than half a day, so not a connection we count.