The US President launched a scathing attack on Spain.