When Fred and George leave in Harry Potter and the Order of the Phoenix, they summon their brooms and fly away out of Hogwarts.
How was this possible with all the protective enchantments protecting the castle, preventing flying and apparition? Do the enchantments only keep people from flying in?