The men are alleged to have climbed a drainpipe at the royal estate at Sandringham, a court has heard