|The migrants after they were caught|
Two of the migrants were hiding in the car's boot, while another was found under the bonnet. A fourth, a woman, was reportedly found under the dashboard.
The driver and a passenger in the car were also detained, according to Spanish daily La Vanguardia.
Two police officers involved in catching the four suspected migrants had to be treated for injuries - one after taking a blow to the knee, the other after being hit in the hand.
According to Spanish media, the car sped through security controls before the driver and his passenger dumped it outside a petrol station and fled.
They were both arrested, however, and the suspected migrants soon found inside.