A heritage railway has become the first heritage railway in the UK to take a Class 150 Sprinter Unit into its running fleet.