Many, many years ago I travelled over the Weymouth Quay line where the railman walked in front of the train on the section through the town. The speed restriction must have been walking pace!
I've imposed a walking pace speed limit before. There was a DMU (with passengers) trapped on a branch and the points ahead of it (it was the return journey) were damaged. These points were now being used in the facing direction for the movement that the train was supposed to be making.
Unknown to the signaller, the points had been damaged during an overnight T3 engineering occupation. They had been run through, but showed detection when the T3 was handed back, hence the signaller not noticing a problem. So the first train of the day was signalled normally along the branch.
When the signaller set the route for the return journey, the points failed to gain detection for the opposite position. So the signaller reported this as a fault. My team and I responded and discovered that the points had been badly damaged.
I advised the signaller that repairs would take a number of hours and that the points could not be used until the repairs had been completed. But I was asked if we could do anything to allow the trapped train to pass over them.
After careful consideration, we made a number of adjustments and fitted two point clips to hold the bent switch rail as tightly as possible up against the stock rail.
Although derailment was unlikely, just in case, the driver was instructed to proceed at walking pace while the train passed over the points and to watch me as I walked along the cess just ahead of the train, with instructions to stop immediately if I indicated for them to do so. Meanwhile my team member closely watched each wheel of the train as it passed over the switch rails of the points.
The driver followed the instructions and the train successfully passed over the points without incident. The branch was closed to traffic after this. Once we had the replacement parts, repair work started.