Whether he reveals the goat by luck or because he knew which door had the prize is the entire point of the problem.
Whether you end up switching or not, the other opened door is 2/3 likely to contain the prize and the door you picked originally has a 1/3. Whether you switch or not, doesn't change the odds.