Yes, God judges the heart. So the real question is did Peter act on the goodness of his heart or because if Jesus is crucified it ruins his whole plans.What verse says that GOD looks at the heart?
Or more to the point do those who take the shot truly conclude that this was the Lord's leading or did they simply hope it was as it would have been too much trouble to say no?