Woops, that's embarrassing, looks like I forgot to add a command for the guard to move. The guard disappears after you've talked with the Emperor, I didn't even consider the possibility that people would backtrack from the gate - which makes me a bit dumb. Sorry about that! It will be fixed in the next version!