To create a Gate
Our model club has one such thing which actually has two trakes one in a tunnel the other on top of the tunnel.
We just took a door and its hinges hut the door in half leaving two of the hinges and the door knob on the section we needed and then mounted the track and benchwork...