Nothing which is done in pursuance of, or which is warranted by the judgment
or order of, a Court of Justice if done whilst such judgment or order remains in
force, is an offence, notwithstanding the Court may have had no jurisdiction to
pass such judgment or order, provided the person doing the act in good faith
believes that the Court had such jurisdiction"
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