pretty simple answer here. If the batter meant to kick the ball he is out, if the umpire reads his mind and see that he did not mean to kick the ball it was purely an accidental kick, foul ball!
I always heard no official can read minds, but the rule expect you to!