Your "Texas vs. Federal Government" argument is weak:
1. The local Catalan parliament is not above any national law. Your argument reminds me of the Texas Government vs any US Govt.
2. The pro-independence seats in parliament in Catalonia is a voter minority... in Catalonia. Check your math.