Officers attended the scene in connection with a separate incident at a residential building in the Spanish city.