To buy an expensive house outside of you Sim's budget, first start a family or load one, and find an empty lot. Move the Sim on that lot. Enable the "motherlode" code a few times, just to the point where you can buy the expensive house. Exit the lot, and then save the game. Then, evict the family. Your family will be displayed at the "Choose Family" window. You can now buy any house desired.