You said it correctly. If a different loco is attached to the other end of a train, then the process can be completed in 20 mins easily. However, if the same loco has to undergo from front end of a train to back end and then reconnecting it, it often takes more time. It can still be done swiftly, but depends on how willing the railway folks there are to do so.