The correct option is A mistake of fact
Section 21 of the Indian Contract Act, 1872 lays down the effect of mistake of law. It states that although mistake of law does not render a contract void, it is not applicable to a law that is in force outside India. In case of mistake of foreign law it is to be treated as a mistake of fact.