Trump's recently struck down tariffs were inspired by a 19th-century US president, who later changed his mind on their implementation.