(3)Whoever prints or publishes any matter in relation to any proceeding before a court with respect to an offence referred to in sub-section (1) without the previous permission of such court shall be punished with imprisonment of either description for a term which may extend to two years and shall also be liable to fine,Explanation.- The printing or publication of the judgment of any High Court or the Supreme Court does not amount to an offence within the meaning of this section.