The incident I was referring to happened in 1978 - most of my long-distance rail travel took place before 1984 (and those "in the know" can work out from that how old I am!)
The "leave documents with attendant" arrangement only applies/applied to sleeper and couchette passengers; if you were in an ordinary compartment you got woken up.