15.7 (1) If upon inspection of a property the officer is satisfied that there is non-conformity with the standards in a by-law passed under section 15.1 to such extent as to pose an immediate danger to the health or safety of any person, the officer may make an order containing particulars of the non-conformity and requiring remedial repairs or other work to be carried out immediately to terminate the danger.  1997, c. 24, s. 224 (8). Service (2) The order shall be served on the owner of the property and such other persons affected thereby as the officer determines and a copy shall be posted on the property.  1997, c. 24, s. 224 (8). Emergency powers (3) After making an order under subsection (1), the officer may, either before or after the order is served, take any measures necessary to terminate the danger and, for this purpose, the municipality may, through its employees and agents, at any time enter upon the property in respect of which the order was made without a warrant.  1997, c. 24, s. 224 (8). No liability (4) Despite subsection 31 (2), a municipal corporation or a person acting on its behalf is not liable to compensate the owner, occupant or any other person by reason of anything done by or on behalf of the municipality in the reasonable exercise of its powers under subsection (3).  1997, c. 24, s. 224 (8). Service (5) If the order was not served before measures were taken to terminate the danger, the officer shall serve copies of the order in accordance with subsection (2) as soon as practicable after the measures have been taken, and each copy of the order shall have attached to it a statement by the officer describing the measures taken by the municipality and providing details of the amount expended in taking the measures.  1997, c. 24, s. 224 (8). Service of statement (6) If the order was served before the measures were taken, the officer shall serve a copy of the statement mentioned in subsection (5) in accordance with subsection (2) as soon as practicable after the measures have been taken.  1997, c. 24, s. 224 (8). Application to court (7) As soon as practicable after the requirements of subsection (5) or (6) have been complied with, the officer shall apply to a judge of the Superior Court of Justice for an order confirming the order made under subsection (1) and the judge shall hold a hearing for that purpose.  1997, c. 24, s. 224 (8); 2002, c. 9, s. 25. Powers of judge (8) The judge in disposing of an application under subsection (7) shall, (a)  confirm, modify or rescind the order; and (b)  determine whether the amount spent on measures to terminate the danger may be recovered in whole, in part or not at all.  1997, c. 24, s. 224 (8). Order final (9) The disposition under subsection (8) is final.  1997, c. 24, s. 224 (8). Lien (10) The amount determined by the judge to be recoverable shall be a lien on the land and shall have priority lien status as described in section 1 of the Municipal Act, 2001 or section 3 of the City of Toronto Act, 2006, as the case may be.  2002, c. 17, Sched. F, Table; 2006, c. 32, Sched. C, s. 3 (4). Section Amendments with date in force (d/m/y) 1997, c. 24, s. 224 (8) - 17/06/1998 2002, c. 9, s. 25 - 01/09/2003; 2002, c. 17, Sched. F, Table - 01/01/2003 2006, c. 32, Sched. C, s. 3 (4) - 01/01/2007