Gives the local authority the power to prevent a building from becoming a danger to the public and stop any unauthorised access.