I believe the government of Spain has greatly overplayed its hand. One could perhaps agree that the outcome of the vote in Catalonia is of no constitutional force or consequence. But to declare that voting in the referendum is illegal while using riot police to stop it?  That seems a gross over-reaction, and one that can only play into the hands of Catalonia's independence movement.