The correct option is B The impact of public policy on contract is to be judged in individual cases.
The rule of law, applicable to this class of cases, is, that all agreements which contravene the public policy are void, whether they be in violation of law or of morals, or tend to interfere with those artificial rules which are supposed by the law to be beneficial to the interests of society, or obstruct the prospective objects flowing indirectly from some position legal injunction or prohibition.