With the djinn 's help , Aladdin becomes rich and powerful and marries a princess . With the aid of the djinni of the lamp , Aladdin becomes rich and powerful and marries Princess Badroulbadour , the Emperor 's daughter .