As I've said before what is walking about got to do with it? All the referee has to think in this situation is why is his hand on the post? Every player defending a post does it so in a football sense it is absolutely natural to put your hand on the post.
I agree with you about the first 2 questions the referee should think about but there is a 3rd question too that you have missed out.