that's a large simplification of the problem. ¿Can Barcelona where people is less independent secede from the rural Catalonia? ¿Can the rich secede from the poor? As a matter of the actual law, only all the Spaniards can vote for a change like that, but Catalonians will never accept such thing because they will never be able to convince that the separation of Catalonia is a good thing for both sides.