These measures have provoked opposition in Catalonia and the Basque Country, which have their own police forces that will now come under national control.