There isn't a cat in hell's chance of the Court granting an eviction on these grounds unless they are absolutely satisfied that the housing provider has done everything they can to gain access by other means.
This is likely to have been not the first time either, as all a provider really needs is a Warrent of Entry - the courts permission to gain access, carry out the checks and then leave the propoerty secured. I would hazard a guess that this has been done at least a couple of times in the past and that the court were satisfied that the tenants would have continued to force the provider down this route.
Imagine the alternative:
"Housing provider failed to check exploding boiler
An ALMO who hadn't carried out an annual safety check on a boiler that exploded killing a resident and her visiting boyfriend are due in court facing Corperate Manslaughter charges"
Fred Blog: "This is just typical of useless, officious, immoral and incompetent social housing providers. It could all have been sorted out with a 2 minute chat on the doorstep"
Henpecked: "When mine was due I was out but they kept coming until I finally let them in"
Social Housing Providers can't win with some of you - have you thought about the private rented sector? That would free up a property for someone who would appreciate what they've got.