Don't mix things. It is not the same the vote of a sovereign country like Great Britain to belong to a supranational entity than a few Spaniards trying to steal the land of all Spaniards.
I'm an anti-European Union in its current form and I agree 100% with them and the Brexit because the European Union is really a sick joke of democracy, in that I agree with you. But it is also a sick joke of democracy what the fascist and secessionist politicians are doing to the region of Catalonia.