Three people have been injured, while the driver has fled the scene, the spokesman added.
The injured included a 45-year-old man who was taken to a hospital. No information of the victims' medical conditions have been provided yet.
According to the local unit of COPE radio station, two people in the car were detained shortly after the incident.
The incident occurred just hours after Spanish police shot dead an Algerian man, who attempted to attack them with a knife at a police station.