The popular tourist city in the south of Spain has announced a surprise ban on an activity normally enjoyed by tourists.