Three held in France in August for ‘planning attacks’