No public leaseback of any local agency shall be entered into until the act of entering into a formal agreement with the public leaseback corporation shall have been approved by such local agency by ordinance which shall state that it is subject to the provisions for referendum applicable to such local agency. This section shall apply only to public leaseback agreements the term of which will exceed five years or more.