From traitor to saviour — Smith's plan was crucial in staving off tariffs