I don't see a problem with the verdict.
As has been confirmed, he did have a gun and the police knew he had a gun in the cab. He exits the cab and quite rightly the police believe he still has the gun, is a very dangerous man and that it appears he is holding the gun in his hand. No-one knew...