Masked men scaled 6ft fences to sneak onto the Windsor Castle estate as the Prince and Princess of Wales slept nearby with their children.