To be able to enter into the castle you have to jump on top of the castle (similar like Mario and his channels)