Custodians of certificates and records of birth, marriage and death may permit inspection of records, or issue certified copies of certificates or records, or any parts thereof, when satisfied that the applicant therefor has a direct and legitimate interest in the matter recorded, the decision of the state registrar or the clerk of a municipality being subject to review by the Superior Court, under the limitations of this section.