I am French and there are rumors that some people inside the police forces are earning side money by funneling information from the police files to former police officer working as private investigators (with the advantage of having insider access to police data).
I always assumed that this practice was widespread. That is just an extension of the traditional practice of "tricoche" (police officers performing investigations for private customers).