So far as I'm aware, there is no official mechanism in the U.K. to electrically condemn a building (private, residential).

The local council has the power to condemn a building if it becomes so structurally unsound that it's in danger of dropping masonry on passers-by or something along those lines, and the health dept. may become involved in there's a health hazard, e.g. rat infestation.

The utilities have the power (excuse the pun!) to disconnect service to a building if they consider the wiring to be so unsafe as to be a severe danger, but by all accounts it has to be really bad before that happens, especially with way the PoCo these days seems to pretty much adopt the "couldn't care less what happens after it leaves the meter" stance.

Commercial buildings such as factories are another matter, as they come under the Health & Safety at Work Acts, enforced by the Gestapo (er.... I mean the Health & Safety Executive [Linked Image]).