(2)The court on receipt of such application may make a written order requiring the occupier of the land or building to afford all reasonable facilities to the owner for complying with the said provision or notice, order or requisition and may also, if it thinks fit, direct that the costs of such application and order, be paid by the occupier.