Celestia is more powerful than she lets everypony know. In the last episode of season 3 where she makes Twilight an alicorn she creates like a new dimension or something where she takes Twilight, and Luna can control the entire dream realm. I'm pretty sure they are both some sort of deities or something.