Not many locomotives can be said to have played a part in promoting the Olympic Games.