However, Russian law provides a number of special rules that limit the effects of the principle of lex patriae in determining the capacity of foreigners. Thus, in accordance with para. 5, Art. 1195 of the Civil Code civil capacity stateless persons in the Russian Federation is determined by law of the country in which he has a permanent place of residence. In accordance with para. 3 of Art. 1197 of the Civil Code is subject to Russian law and issues of recognition of foreigners incapable or partially capable.