Nations have done far worse than trade protections to help their prosperity, so it's very understandable.
What's less understandable are the calls of "We live in a globalized world, that's just how things work now!" when Western nations try the same.