With all the video footage, the sheriff would be know whether or not James was at the casino. My question is why he answered that in the manner in which he did. If it has no bearing on the case, why not just say yes or no? Or just say "no comment"?
Unless he had a disguise (unlikely) or the cameras at the casino weren't all working and they understandably don't want to reveal that.