Art. 40. For the exercise of rights and the fulfillment of civil obligations the domicile of natural persons is the place of their usual residence; and, in a proper case, that determined by the law of civil procedure.

The domicile of resident diplomats who, by reason of their office abroad, enjoy the rights of extraterritoriality shall be the last one they had in Spanish territory.

Art. 41. When neither the law which has created or recognized them, nor the statutes or rules of their establishment fix the domicile of judicial persons, it shall be understood that it is at the place where the legal representation is established or where they exercise the principal duties of their institution,