The answer is: B
Explanation
The correct option is B: Under any law relating to contracts.
Section 9 of the Specific Relief Act, 1963 states that "Except as otherwise provided herein, where any relief is claimed under this Chapter in respect of a contract, the person against whom the relief is claimed may plead by way of defence any ground which is available to him under any law relating to contracts."
This means that the defendant can raise any valid defence that is recognized by the contract law, such as fraud, mistake, coercion, undue influence, illegality, impossibility, etc. The defendant cannot plead any ground that is irrelevant or extraneous to the contract, such as torts, crimes, or procedural matters. The purpose of this section is to limit the scope of the suit for specific performance or other relief based on contract to the issues arising out of the contract itself and not to allow any collateral or ancillary matters to be raised by the defendant.