Deposits are governed by law and contract in California real estate deals. With a good lawyer on your side, an earnest money deposit is always refundable.