Impotence may be pleaded as a ground for defense in males in all the following conditions Except
Impotence is not a ground for defense in a case of Rape. That is to say, that rape can be committed even if a person is impotent. Ref: Krishan Vij textbook of forensic medicine, 5th edition pg : 393
Divorce
Rape
Adultery
Unnatural sexual offence
Sexual offences and infanticide