The records shall not be subject to public inspection, except when the court so grants to officers of the General Court of Justice in official activity, or to persons of high professional or scientific reputation who demonstrate in writing the need for or interest in obtaining information for official work, research or study. The judge shall always establish the conditions under which this information may be offered.