If the application does not conform, he shall, within 10 days, deny the permit in writing, stating therein his reasons for such denial. In the event that the proposed building or structure is so constructed or is of such usage as to require a review of the application by other authorities or boards, as determined by reference to the land use regulation file, the Code Enforcement Officer shall refer the applicant to the appropriate authority or board for review, approval or denial. Upon his receipt of the decision of the reviewing authority or board, in writing, and if such decision is an approval, the Code Enforcement Officer shall issue the permit with any conditions prescribed by the reviewing authority or board. The Code Enforcement Officer shall not issue any building permit if he has knowledge that a particular structure would be located in an unapproved subdivision, and/or if he has knowledge that the structure would be in violation of a particular state law or local ordinance. In denying any permit under these circumstances, the Code Enforcement Officer shall state in writing the reasons for the denial.