Spain has faced its own independence claim from the region of Catalonia, which voted to separate in a referendum dubbed illegal by Madrid. The Spanish government has always opposed Scotland being allowed to join the EU, apparently worried that it would start a precedent for newly independent European states to join, encouraging Catalan separatists.