Civil Code § 3389
ARTICLE 3. Specific Performance of Obligations [[3384.] - 3395.]
A contract otherwise proper to be specifically enforced, may be thus enforced, though a penalty is imposed, or the damages are liquidated for its breach, and the party in default is willing to pay the same.