The officers were investigating the break-in of a mobile phone shop in the southern city when they ran into the suspected culprits.
The crooks, driving a black Audi RS4, shot at the windshield of the police cruiser, although none of the officers was injured.
The incident occurred around 1.30am, Le Parisien reported.
The burglars, believed responsible for two break-ins in the same night, were able to make a safe getaway.
Police estimated the value of stolen goods at around 40,000 euros.