SNEED, Circuit Judge:
Taxpayers appeal from a decision of the Tax Court holding that what in form was a sale of taxpayers’ stock in a wholly owned corporation was in substance a liquidation of the corporation. John D. Gray, 56 T.C. 1032 (1971). The case demonstrates anew the need to elevate substance over form in interpreting a sophisticated code of tax laws where slight differences in a transaction’s design can lead to widely divergent tax results. It also demonstrates, however, the difficulties in determining the substance of a transaction when dealing with complex business arrangements in which the items of commerce frequently are legal abstractions such as corporate entities and shares.
The present transaction has at least five plausible characterizations, all with substantially different tax results. According to their theory, taxpayers sold their shares in a wholly owned corporation, containing only cash and preferred stock in another of taxpayers’ corporations, to an unrelated party in an arm’s-length transaction; the preferred stock was then redeemed from the corporation after the sale was completed and, thus, after taxpayers’ control over the redeeming corporation could no longer be attributed to the sold corporation through section 318 of the Internal Revenue Code (hereinafter Code). The Tax Court, however, focusing on the purported sale, held that taxpayers had in substance liquidated the corporation following which the preferred stock was redeemed directly from the hands of the taxpayers. We take a third position. We accept the sale format in which taxpayers chose to cast their transaction. At the same time, however, we believe that the redemption of the preferred occurred before rather than after the sale was effectuated.
I.
THE FACTS.
In 1960, taxpayers John D. Gray and family were the principal shareholders of two corporations profitably engaged in the manufacture and sale of saw chains both here and abroad. Domestic operations were centered in Omark Industries Inc. (hereinafter Omark), of whose stock all but about 10 percent was held by taxpayers. Foreign sales were handled by Omark Industries (1959) , Ltd. (hereinafter Omark 1959), a Canadian corporation owned entirely by taxpayers. In an effort both to prepare Omark for an eventual public offering and to avoid disputes with the minority shareholders of Omark, taxpayers in late 1960 decided to realign the Omark-Omark 1959 relationship into that of parent-subsidiary. This was accomplished by Omark forming a Canadian subsidiary, Omark Industries (1960) Ltd. (hereinafter Omark 1960), and having the subsidiary acquire the assets of Omark 1959 and assume its liabilities. Omark 1959 in exchange received $10,000 in cash, a $82,604 line of credit, and 15,000 shares of Omark 1960 $100-par, noncumulative preferred. The name of Omark 1959 was then changed to Yarg, Ltd. (hereinafter Yarg).
Following the acquisition of Yarg’s assets by Omark 1960, taxpayers attempted to convert Yarg into a real estate investment corporation. Gray actively investigated a variety of real estate investments during 1961 and 1962. Gray’s efforts to find suitable investments, however, were unsuccessful. While Yarg did make a series of investments in Oregon corporations, no real estate was ever purchased.
By 1962, several factors had convinced taxpayers to terminate their ownership of Yarg as expeditiously as possible. Because of the failure to find satisfactory real estate investments for Yarg, the IRS was likely to classify Yarg as a foreign personal holding company subject to sections 551 et seq. of the Code. Under the foreign personal holding company provisions, taxpayers would be taxed at ordinary income rates on any undistributed investment earnings of Yarg. To make matters worse, legislation had been introduced into Congress which, if passed, would tax as dividend income- any gain recognized on the liquidation of a controlled foreign corporation such as Yarg.
Taxpayers considered a variety of means for terminating their interest in Yarg — including transferring their stock in Yarg to Omark in exchange for Omark stock in a nontaxable section 351 transaction, contributing the Yarg stock to a capital exchange fund, and liquidating Yarg. Each of those alternatives, however, had distinct disadvantages and taxpayers ultimately decided to sell their stock in Yarg to an outside buyer. Although two investment banking firms were commissioned to find a buyer, it was Gray’s attorney who ultimately located a purchaser. Frank H. Cameron (hereinafter Cameron), a Canadian businessman, offered to purchase the Yarg stock for “net book value less 4VÍ2 percent of undistributed income”; he insisted, however, that prior to purchase, all of Yarg’s assets be reduced to cash and Yarg’s liabilities be reduced to only capital and surplus.
At this point, Yarg’s assets consisted of a small amount of cash, minor investments in three Oregon corporations, and the 15,000 shares of Omark 1960 preferred. In line with the all-cash requirement in Cameron’s offer, Gray purchased Yarg’s Oregon investments at book value in cash. However, taxpayers balked at reducing the Omark 1960 preferred to cash prior to the sale. Cameron’s insistence on cash was understandable. There was no guarantee that the Omark 1960 preferred would be redeemed in the near future. And, while the book value and redemption price of the Omark 1960 preferred was $1,500,000, its fair market value was considerably less, taxpayers once in the course of this litigation having stipulated a value of only $1,000,000. From taxpayers’ standpoint, however, a redemption of the Omark 1960 preferred prior to the sale of the Yarg stock would lead to foreign personal holding company income, taxable to Gray and his family as ordinary income. Ultimately, it was agreed between the parties that Cameron would purchase the Yarg stock while Yarg still held the Omark 1960 preferred, but that the purchase would be subject to a condition subsequent negating the transaction if the Omark 1960 preferred was not redeemed within six days after the purchase. Cameron would be free to waive the condition subsequent if he wished. To ensure that Omark 1960 would be able to redeem the preferred shares, Gray arranged for Omark and another Omark subsidiary to lend approximately $1.3 million to Omark 1960 four days prior to the planned sale.
On September 21, 1962, Cameron, acting through two wholly owned Canadian corporations, gave two certified checks totalling $1,681,400 to personal representatives of taxpayers in exchange for all the outstanding Yarg stock. The checks, the Yarg stock, the Yarg corporate records and the Omark 1960 preferred stock,' all properly endorsed, were then placed in escrow with the Bank of Montreal. By the terms of the escrow, the Bank was to return the checks to Cameron and the other excrow items to taxpayers if the Omark 1960 preferred had not been redeemed by September 26, 1962 and Cameron had not waived the condition. On September 22, with Cameron and two associates purportedly installed as Yarg’s new directors, Yarg requested that Omark 1960 redeem its preferred stock; the request was made by means of a letter previously drafted by Gray’s Canadian attorney. The stock was redeemed on September 25, 1962, and the escrow was closed.
Taxpayers treated the 1962 transaction as a sale of the Yarg stock, reporting their profit on the transaction as capital gains. The Commissioner assessed deficiencies against taxpayers contending that the transaction was in reality a constructive dividend to taxpayers of the assets of Yarg followed by a second constructive dividend on the redemption of the Omark 1960 preferred; both dividends would be taxable at ordinary income rates. The Tax Court held that both characterizations were wrong. According to the Tax Court, the 1962 dealings constituted a constructive liquidation of Yarg on September 21 followed by a redemption of the Omark 1960 stock from the hands of taxpayers on September 25.
II.
ANALYSIS.
We agree with the Tax Court that the taxpayers’ characterization of the transaction must be rejected. We believe that the controlling issues are when and from whom the redemption was made, however, and not whether the taxpayers liquidated or sold their stock.
Assuming that taxpayers are correct in characterizing their transaction as a sale rather than a liquidation, the facts indicate that the substance of the sale followed rather than preceded the redemption of the 1960 preferred. The fact that the agreement was cast in the form of a sale subject to condition subsequent, which may be considered a completed sale under Canadian law, is irrelevant for purposes of federal taxation. We must look to the relevant concepts of federal tax law to determine when the sale occurred. Commissioner v. Tower, 327 U.S. 280, 287-88, 66 S.Ct. 532, 90 L.Ed. 670 (1946); Hudspeth v. United States, 471 F.2d 275, 277 (8th Cir. 1972); Estate of Starr v. Commissioner, 274 F.2d 294, 294-95 (9th Cir. 1959). For tax purposes, sale is essentially an economic rather than a formal concept. Our task is to examine all of the factors to determine the point at which the burdens and benefits of ownership were transferred.
It is settled that when a person agrees to sell property subject to certain conditions, and the property is placed in escrow until those conditions are fulfilled, no sale occurs until those conditions have been fulfilled. Dyke v. Commissioner, 6 T.C. 1134 (1946); see Texon Oil & Land Co. v. United States, 115 F.2d 647 (5th Cir. 1940); Big Lake Oil Co. v. Commissioner, 95 F.2d 573 (3d Cir. 1938). Here, the Yarg stock was placed in escrow, subject to the condition that the “sale” would be undone if the redemption did not occur. Completion of the transaction was subject to real contingencies; the seller was not free to demand his proceeds until the redemption occurred, Carpenter v. Commissioner, 34 T.C. 408, 409, 414 (1960).
Buttressing our conclusion that the sale was not completed until the redemption occurred is the fact that the condition imposed was not insignificant or remote; rather, the redemption supplied the economic substance needed to complete the sale. The purchase price of the Yarg stock was computed by adding to Yarg’s cash assets a sum of $1.5 million attributable to the Omark 1960 preferred. But the preferred would be worth that amount only upon redemption. Its value in the absence of redemption was considerably less. If the Omark 1960 preferred were redeemed, the escrow would be closed and the sale completed. If the preferred were not redeemed, Cameron would be free to abandon the sale, and would have no economic incentive to do otherwise. See generally Estate of Franklin v. Commissioner, 544 F.2d 1045 (9th Cir. 1976). The stubborn fact is that without the redemption there would have been no sale.
The facts also demonstrate that it was Gray, through Yarg, who initiated and received the benefits from the redemption of the Omark 1960 preferred. The only reason suggested in the record why Omark 1960 chose to redeem its preferred on September 25, 1962 was that it was necessary to effectuate taxpayers’ sale of the Yarg stock. Gray was in complete constructive control of Omark 1960. It was Gray who arranged the financing for the redemption. It was even Gray’s attorney who drafted the letter requesting the redemption. As for the proceeds of the redemption, the sales price of the Yarg stock reflected these proceeds. Taxpayers received the redemption value of the preferred rather than its fair market value. Thus, it was taxpayers, not Cameron, who received the economic benefit from the redemption of the Omark 1960 preferred. To hold that the preferred was only redeemed after the Yarg stock was sold and taxpayers’ relationship with the corporation ended would ignore how and why the redemption was made. Such a holding would also defeat Congress’ purpose in passing sections 301, 302, 316 and 318 of the Code, taxing as ordinary income redemptions that are essentially equivalent to a dividend, even when they are only indirectly made to a shareholder through a related entity. Cf. B. Bittker & J. Eustice, Federal Income Taxation of Corporations and Shareholders 1110.07, at 10-13 to 10-14 (1971).
The Tax Court’s characterization of the 1962 transaction as in substance a liquidation followed by a redemption suffers from the same defect as does the taxpayers’ theory. Under the Tax Court’s theory, the September 21, 1962 “sale” was a “liquidation.” But this “liquidation,” like the “sale,” was contingent on the redemption of the Omark 1960 preferred. If the redemption had not occurred, Yarg’s cash assets and the Omark 1960 preferred would have remained in corporate solution. Thus, what the Tax Court viewed as the liquidation was contingent on the redemption. Such a contingency is inconsistent with the premise that a liquidation was then and there completed. Until the assets of a corporation have been irrevocably removed from their corporate solution, a complete liquidation has not occurred.
Turning to the issue of who received the redemption, the Tax Court’s theory holds that the Omark 1960 preferred was redeemed from the hands of taxpayers rather than Yarg. The facts indicate to the contrary. The redemption was from Yarg. The preferred was at all times registered to Yarg prior to the preferred’s redemption on September 25; the usual powers of ownership were vested entirely in Yarg; taxpayers would not have been free to sell or pledge the preferred. Furthermore, the re-demption proceeds were paid directly to Yarg. While the proceeds ultimately flowed to taxpayers, they took the form of sale proceeds from the transaction with Cameron. Of course, the Tax Court would have been free to reject the form of the redemption if tax substance so dictated. But it does not. Under sections 302 and 318 of the Code, if a redemption that would be essentially equivalent to a dividend in the hands of the taxpayers is received instead by a wholly owned corporation, the redemption is still taxed as a dividend but to the corporation. Congress was free in drafting these provisions to tax the redemption directly to the taxpayers, but it purposefully did not. The tax court was not free, under the instant circumstances, to reject corporate separateness when Congress has chosen to preserve it. It matters not whether the Tax Court’s conclusion that the taxpayers received the redemption be regarded as a mistake of law or an erroneous finding of fact. If it is the former, which we believe it to be, it is our duty to correct it; if it is the latter, we hold it not only erroneous but clearly so.
Therefore, there was a redemption of the Omark 1960 preferred from the hands of Yarg followed by what appears in form to have been a sale of the Yarg stock to Cameron. There is no reason to reject the sale form in favor of a liquidation theory. By selling their stock to Cameron, taxpayers have incurred a higher tax than if, following the redemption of the Omark 1960 preferred, they had liquidated Yarg. Having cast the transaction in the form of a sale, however, taxpayers cannot now be heard to complain. See Commissioner v. National Alfalfa Dehydrating, 417 U.S. 134, 149, 94 S.Ct. 2129, 40 L.Ed.2d 717 (1974); Higgins v. Smith, 308 U.S. 473, 60 S.Ct. 355, 84 L.Ed. 406 (1940).
We, therefore, remand to the Tax Court for further proceedings in line with this court’s determination that there was a redemption of the Omark 1960 preferred followed by a sale of the Yarg stock.
REVERSED AND REMANDED.
. Under I.R.C. § 302, if a corporation redeems stock from a shareholder who owns 50 percent or more of the voting power in the corporation both before and after the redemption, the redemption proceeds will typically be treated as a dividend and taxed at ordinary income rates to the shareholder. Under I.R.C. § 318(a)(3)(C), similar treatment will be accorded to the redemption of stock from a corporation whose majority shareholder owns 50 percent or more of the voting power in the redeeming corporation both before and after the redemption. The redemption will be treated as a dividend and taxed as ordinary income to the corporation. In essence, the shareholder and the corporation are treated as the same entity for purposes of deciding whether the redemption should be viewed as equivalent to a dividend.
. At trial, the Commissioner argued that Omark 1959 had received less than the fair market value of its assets upon their transfer to Omark 1960, thus resulting in a constructive dividend of the difference to taxpayers. The Tax Court disagreed and the Commissioner has not appealed.
. A foreign corporation is defined by I.R.C. § 552(a) as a foreign personal holding company if more than 60 percent of its gross income is “foreign personal holding company income” as defined by I.R.C. § 553. Section 553, in turn, defines foreign personal holding company income as most forms of passive investment income, including rents except when the rents constitute 50 percent or more of the gross income. If Yarg, therefore, had located satisfactory real estate investments and received more than 60 percent of its gross income in the form of rents from those investments, foreign personal holding company status could have been avoided. However, in 1962, Yarg was receiving all of its income from passive investments in Oregon corporations and, therefore, was apparently by definition a foreign personal holding company.
. Such investment earnings would include any returns on Yarg’s investments in Oregon corporations and any proceeds from the redemption of the Omark 1960 preferred if viewed as equivalent to a dividend. I.R.C. § 553.
. The legislation was ultimately enacted in amended form as I.R.C. § 1248.
. Under I.R.C. §§ 302 & 318, discussed supra note 1, if the preferred were redeemed from Yarg prior to the sale, the redemption proceeds would be treated as equivalent to a dividend. Dividends, in turn, are included in foreign personal holding company income under I.R.C. § 553(a)(1). See note 4 supra. Finally, under I.R.C. § 551(a), any undistributed foreign personal holding company income must be included in the gross income of the corporation’s United States shareholders.
. The Commissioner no longer urges the adoption of his characterization of the 1962 transaction but instead supports the Tax Court’s interpretation of the events.
. Cases in which a sale is completed with buyer receiving proceeds unconditionally, subject to an agreement to repurchase part or all of the property if certain conditions occur later, e. g., William Davey v. Commissioner, 30 B.T.A. 837 (1934), are distinguishable from cases in which proceeds are placed in escrow and never disbursed until the conditions occur. Seller in the former case never has the right to demand the proceeds, Carpenter v. Commissioner, 34 T.C. 408, 409, 414 (1960). “It is the fixation of the rights of the parties which is controlling”, Commissioner v. Cleveland Trinidad Paving Co., 62 F.2d 85 (6th Cir. 1932).
. Prior to trial, the parties stipulated that the Omark 1960 preferred had a fair market value of $1,000,000. Taxpayers argue on appeal that the stipulation was only for purposes of resolving an independent issue not on review. The stipulation is absolute on its face. We, therefore, accept it for purposes of this appeal.
. See note 1 supra.
. E. Keith Owens, 64 T.C. 1 (1975), and Estate of Edwin C. Weiskopf, 64 T.C. 78 (1975), aff’d per curiam, 37 A.F.T.R.2d 1427 (1976), cited by the Commissioner in support of the Tax Court’s theory, are inapposite. In both those cases the central and only issue was whether there had been a sale or liquidation of taxpayers’ corporation. As developed above, the central issue in this case is whether the taxpayers’ transaction with Cameron, whether viewed as a sale or liquidation, was completed before or after the redemption of the Omark 1960 preferred. Furthermore, the facts in both of the cited cases fully support the Tax Court’s theory that there was a liquidation. In both cases, the corporation was liquidated immediately after the purported sale. In Estate of Weiskopf, the “sales agreement” even provided that the “sale” was contingent on the purchaser obtaining a favorable tax ruling “before the date on which liquidation . . commences.” 64 T.C. at 87-88. In this case, the facts conflict in important respects with the Tax Court’s theory. Finally, there were strong policy reasons in both Owens and Estate of Weiskopf for holding that a liquidation, rather than a sale, had occurred. In Owens, taxpayers were attempting to assign the corporate profits to individuals with large unused tax losses. In Estate of Weiskopf, to have held the transaction a sale rather than a liquidation would have been “in complete derogation of section 1248 and its legislative history," providing for the full imposition of United States tax when income earned abroad is repatriated. 64 T.C. at 101. As noted in the text, there is no comparable reason for rejecting the taxpayers’ formulation of the instant transaction as a sale.
. The issue is whether the taxpayers have recast merely in form what in substance Congress segregated for special treatment. The taxpayers’ transaction may meet the dictionary definition of one tax provision but squarely come within the substance of a different provision; under such circumstances, the substance must win out over the form. See generally Commissioner v. P. G. Lake, Inc., 356 U.S. 260, 266-67, 78 S.Ct. 691, 2 L.Ed.2d 743 (1958); Helvering v. F. R. Lazarus Co., 308 U.S. 252, 255, 60 S.Ct. 209, 84 L.Ed. 226 (1939); Helver-ing v. Gregory, 69 F.2d 809, 811 (2d Cir. 1934), affd, 293 U.S. 465, 55 S.Ct. 266, 79 L.Ed. 596 (1935).
. This court has recognized that when erroneous legal conclusions have been attached to undisputed facts by trial courts it may draw different and correct ones on its own. Wener v. Commissioner, 242 F.2d 938 (9th Cir. 1957). The facts here are not in dispute; it is the legal characterization of those facts which has been the subject of this long dispute. The reverse is true when tax consequences turn on a state of mind. The determination of that state of mind is a question of fact to be overturned on appeal only if clearly erroneous. This is the true teaching of Commissioner v. Duberstein, 363 U.S. 278, 80 S.Ct. 1190, 4 L.Ed.2d 1218 (1959). See Estate of Franklin v. Commissioner, 544 F.2d 1045, (9th Cir. 1976) n.3; Olk v. United States, 536 F.2d 876 (9th Cir. 1976).
. The “clearly erroneous” standard is not a wall that cannot be breached. It is so breached when, to quote Duberstein, supra, n. 13, “the -reviewing court on the entire evidence is left with the definite and firm conviction that a mistake has been committed.” 363 U.S. at 291, 80 S.Ct. at 1200. In this instance, if we must assume that the Tax Court made a finding of fact, we possess the requisite conviction.
. As developed earlier, the redemption proceeds received by Yarg would be treated as equivalent to a dividend and included in Yarg’s foreign personal holding company income. If undistributed, the amount of the proceeds would be included in the gross income of taxpayers. See note 6 supra. Since taxpayers sold their Yarg stock, the redemption proceeds remained “undistributed” for purposes of the code provisions and taxpayers must be taxed thereon. However, in 1962, section 562(b) of the Code provided that a liquidation was a distribution of the corporation’s income. Thus, following a liquidation, there would have been no undistributed foreign personal holding company income and taxpayers would therefore only have been taxed on the liquidation at capital gains rates. See J. Sitrick, Foreign Personal Holding Companies, Tax Management Foreign Income Portfolio No. 103, at A-44 (1965).