No person shall be convicted under section 134 or section 135 in respect of any act done by the person, if, before being charged with the offence, the person first disclosed such act on oath, under compulsory process, in a proceeding instituted in good faith by a party aggrieved, or under compulsory examination in some matter in bankruptcy, or insolvency, or under compulsory examination in some matter in the liquidation of a corporation.