A large contributor to Irish suffering were the British corn laws, a tariff that kept the price of barley, wheat, and oats artificially high. So when potato crops failed, the poor Irish couldn't afford substitutes. Ironically, American maze was exempt from the corn laws, so much of that was imported to Ireland.
Tariffs: never any externalities or unintended consequences; you will certainly not regret imposing tariffs.