Spanish Prime Minister Pedro Sánchez often says his country is between “being an open and prosperous country or a closed and poor one.”