‘The security system worked exactly as planned,’ said French rail operator