The foregoing propositions apply to representations of domestic law only. In fraud, as generally, foreign law is treated as a fact, and a misstatement thereof may be fraud,1 as where one is induced thereby to enter into a contract controlled by such foreign law and illegal thereunder.2