Pedro Sánchez, the country’s socialist prime minister, plans to impose a 100 per cent tax on property purchases by non-residents living outside the EU.