3111. A juridical act, whether or not it contains any foreign element, is governed by the law expressly designated in the act or the designation of which may be inferred with certainty from the terms of the act.
A juridical act containing no foreign element remains, nevertheless, subject to the mandatory provisions of the law of the country which would apply if none were designated.
The law of a country may be expressly designated as applicable to the whole or a part only of a juridical act.