Under the French system of law (and sometimes justice), authorities may detain people for investigation. I suspect that that is what is happening here–that the police and investigating magistrate are scared stiff that they will be accused of having missed something that might have prevented the attack, and so are going overboard in their investigation.