If, for any cause, specific performance is impossible or if the vendee declines to accept a performance in part, the court may proceed to assess damages for the breach of the contract.