This is a variation of the famous Monty Hall problem.
I assume you know the usual setup. Here, the host behaves a bit different:
The host knows what lies behind the doors, and (before the player's choice) chooses at random which goat to reveal. He offers the option to switch only when the player's choice happens to differ from his.
Am I better off switching, or not?