The Spanish island chain has been overwhelmed by more than 18,000 arrivals this year.