Catalan independence is neither legal nor democratic (38% of the electorate is not enough to divide a country, especially one that has been united for 450 years).  The so-called "referendum" was an attempt by a minority of Catalans to impose their will on the majority.  Unfortunately, outside Spain most people's knowledge of Catalonia is dim memories of George Orwell's book on an utterly different situation 80 years ago.