I always thought it was referencing beauty and the beast. Cause the same things happen in beauty and the beast. In Aladdin it's not a spell. It's just a genie with magic. In beauty and the beast it's actually a spell on the castle.
Remember when That’s So Raven, Hannah Montana, and The Suite Life of Zack and Cody did a mash up episode and it was the most exciting thing that had ever happened to you? That's so suite life of Hannah Montana!