Legal basis for protection by the consular institution of the rights and interests of citizens and legal entities