Cerberus has the answer.
Because PE companies make them that way, there's an assumption that all of those "railings" on ships are just that, big constructions of welded bar and/ or tubes.
On a bridge or mast, yes. On the main decks, these were usually life lines rigged through collapsible stanchions. I'm not too familiar with the DKM, but the big USN ships would strike the life lines down for battle; otherwise the gun blasts sent them overboard. This is contemporary practice on ships like Arleigh Burkes, too.
The deck detail could stand up the stanchions, run out several hundred feet of rope, and tighten them up quickly.
My USN cruiser: