If, upon issuance of such an order, the person complies therewith, he shall be immune from having such responsive answer given by him or such responsive evidence produced by him, or evidence derived therefrom, used to expose him to criminal prosecution, except that such person may nevertheless be prosecuted for any perjury committed in such answer or in producing such evidence, or for contempt for failing to give an answer or produce evidence in accordance with the order of the commission or the division; provided, however, that no period of incarceration for contempt shall exceed 18 months in duration pursuant to this section. Any such answer given or evidence produced shall be admissible against him upon any criminal investigation, proceeding or trial against him for such perjury; upon any investigation, proceeding or trial against him for such contempt; or in any manner consonant with State and constitutional provisions.
N.J.S. § 5:12-107