The father had threatened to behead a female primary school teacher near Toulouse.