British tourists have been warned about visiting one of Spain’s popular holiday hotspots as a new ban is set to come into effect.