That sounds kind of insane; the whole point of being able to call emergency numbers in the UK on a phone without a SIM, and/or without unlocking it, is that it's an emergency.

The solution you describe sounds like a potentially dangerous technical solution to a cultural problem. I don't hear of people phoning 999 in the UK to test a second hand phone works, or for fun.

What happens in the case where the only phone to hand happens to be someone else's and said person is incapacitated, or otherwise incapable of unlocking it?