The accident happened near Adamuz in the province of Cordoba, about 360 km south of the capital Madrid.