The Supreme Court of Justice of Catalonia has stated that a Spanish man cannot marry his Indian partner because the Spanish civil code says foreign residents seeking to wed Spanish citizens are bound by the laws of their country of citizenship. The Court did not formally rule on this, however, but merely stated it in a release to the media. The couple can appeal to the Justice Ministry.
This brings up interesting questions, such as: A U. S. citizen seeking to wed a Spanish partner presumably couldn’t—but what if she/he is from Massachusetts? Presumably hordes of lawyers are poring over their books even as we type. Sooner or later, people will figure out that unequal marriage rights is just administratively messy, never mind any moral issues.