In all cases in which judgment is given that a person is guilty of one of several offences specified in the judgment, but that it is doubtful of which of these offences he is guilty, the offender shall be punished for the offence for which the lowest punishment is provided if the same punishment is not provided for all"
71 IPC Limit of punishment of offence made up of several offences
74 IPC Limit of solitary confinement
76 IPC Act done by a person bound, or by mistake of fact believing himself bound, by law
77 IPC Act of Judge when acting judicially
78 IPC Act done pursuant to the judgment or order of Court
79 IPC Act done by a person justified, or by mistake of fact believing himself, justified, by law