Your journey was all within the Schengen zone, there are no border checks. Are you sure about why you were woken up?
I've personally been checked in trains crossing from the east towards Germany multiple times, including the night train.
1. https://www.reddit.com/r/MapPorn/comments/17yy61g/current_re...
2. https://en.m.wikipedia.org/wiki/Schengen_Area under "regulation of internal borders"
On a tangential topic, the behaviour of railway staff when checking passports was interesting. With a paper Interrail ticket, they would always ask to see my passport or ID card, yet I don't think I have been asked once when using the electronic Interrail ticket - this is despite the rules being identical for both types.