Dobby elf-popped Harry, Hermione and Sirius outside the gates of Hogwarts. Minutes later, Hagrid had brought the three into Hogwarts Castle, and the three were knocking on the door to the Deputy Headmistress’s office.