The contractor is wrong: if the objective of the contract is impossible or illegal, the contract is unenforceable. The contractor should refund your deposit, minus money it expended on purchase of materials and/or equipment for this project (if the purchased items cannot be returned or used on another project). Sometimes, a contractor can also claim compensation for "lost business opportunity" if it had to forgo another job because it was bound by your contract; but these claims seldom succeed. The problem is that, in practical terms, there is little hope that the contractor will give you any money back voluntarily; if you want any part of your deposit back, you would have to ask the court for it. So, if the deposit was large enough to justify the expense of fighting for it, hire an attorney as soon as the contractor refuses to refund the deposit. Otherwise, chalk this loss up as the price of not doing due diligence before taking the project to a contract-signing stage.
Answered on Oct 23rd, 2013 at 4:19 PM