THE PENAL CODE, 1860 (ACT NO. XLV OF 1860).
CHAPTER IV- GENERAL EXCEPTIONS
79. Nothing is an offence which is done by any person who is justified by law, or who by reason of a mistake of fact and not by reason of a mistake of law in good faith, believes himself to be justified by law, in doing it.
Mistake of fact - national proceedings
EDIT.