The French prime minister says an individual is in police custody after a "serious event" in Trappes.