Spain, inheriting Franco's legacy, likes their own secret internal police and abuse of power. For exampel, Madrid was using Pegasus spyware to spy Catalonian politicians and separatists
https://www.euractiv.com/section/politics/news/catalonia-ban...
From this background, it's more understandable they want to all possible methods to spy their own citizens.