The arrests were announced by the local authorities in the Hauts-de-France region, who said the state would not tolerate actions that encouraged hatred and violence.