If the authority are satisfied that the safety of the public requires that immediate action should be taken in the case of any building as respects which they have given a notice under the last preceding subsection, they may apply to a court of summary jurisdiction and the court may make such temporary order as it thinks fit for the closing of the building to, or for restricting its use by, the public.
The person having the control of any building to which this section applies shall take steps to secure that the means of ingress and egress and the passages and gangways shall, while persons are assembled in the building, be kept free and unobstructed, except in so far as the local authority may otherwise approve, and, if he fails to do so, shall be liable to a fine not exceeding twenty pounds.