The Spanish police urged tourists to remain vigilant, especially older visitors who are more likely to be targeted.