This is not true, on the route Denmark/Germany there was no decoupling involved - the train drives onto the ferry, and drives off the ferry afterwards.