Real-estate deposits are typically fairly straightforward. When you sign a purchase contract, you put down 10% (more or less) as a pledge of commitment. If you back out, you lose it.
Unless you are wealthy and have good lawyers. Mikhail Prokhorov, Russia's richest man, is suing to get back his £35 million ($56 million) deposit on the world's most expensive property.