One of the world’s most famous engines looks set for a surprise return decades after it was left on the scrap heap.