The Borough Council shall render a written decision or, when no decision is called for, make written findings on the application within 45 days after the last hearing before the Borough Council. Where the application is contested or denied, each decision shall be accompanied by findings of fact and conclusions based thereon, together with the reasons therefor. Conclusions based on any provisions of the Pennsylvania Municipalities Planning Code or of any ordinance, rule or regulation shall contain a reference to the provision relied on and the reasons why the conclusion is deemed appropriate in light of the facts found. Where the Borough Council fails to render the decision within the period required by this subsection or fails to hold the required hearing within 60 days from the date of the applicant's request for a hearing, the decision shall be deemed to have been rendered in favor of the applicant, unless the applicant has agreed, in writing or on the record, to an extension of time. When a decision has been rendered in favor of the applicant because of the failure of the Borough Council to meet or render a decision as hereinabove provided, the Council shall give public notice of said decision within 10 days from the last day it could have met to render a decision in the same manner as provided in Subsection A of this section. Nothing in this subsection shall prejudice the right of any party opposing the application to appeal the decision to a court of competent jurisdiction.