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.
Did my senior color guard choreography project based on Mulan. It was entitled "You Have Saved Us All" based on this scene. Mulan is tied for my favorite Disney Princess because she was more than a pretty face with true intention and cause.