This is Number 3
Skarloey told a story, to all of the engines. Peter Sam did not believe there was a "magic lamp"; so he took the wires and ropes to the Incline, he tried finding the lamp but only found different lamps, he was found by Harold the helicopter and Peter Sam went on his way to home.
When Thomas bought a famous storyteller to the Skarloey Railway, the Narrow Gauge engines were excited. They all had jobs to do; Peter Sam accidently took a wrong turn and found a statue of Proteus and decided to bring it to the party.
Miss Marvel soon arrived to tell the stories, the engines were excited and were also stars of the show.
Proteus is a legendary, magical narrow gauge engine with a lamp on top of his funnel. The narrow gauge engines enjoy stories about him; legend says the key to find him is to see a lamp and see it flickering on and off.