It is ridiculous. Daily many potential Islamic enemies of the west cross into Spain from North Africa, aided by liberal helpers. To get rid of terrorists they would need to coral all the illegal  invaders into guarded camps and then dump then back into Africa.