President Obama's visit to a Chrysler plant in Toledo, Ohio, on Friday was the culmination of a campaign to portray the auto bailouts as a brilliant success with no unpleasant side effects. "The industry is back on its feet," the president said, "repaying its debt, gaining ground."

If the government hadn't stepped in and dictated the terms of the restructuring, the story goes, General Motors and Chrysler would have collapsed, and at least a million jobs would have been lost. The bailouts averted disaster, and they did so at remarkably little cost.

The problem with this happy story is that neither of its parts is accurate. Commandeering the bankruptcy process was not, as apologists for the bailouts claim, the only hope for GM and Chrysler. And the long-term costs of the bailouts will be enormous.

In late 2008, then-Treasury Secretary Henry Paulson tapped the $700 billion Troubled Asset Relief Fund to lend more than $17 billion to General Motors and Chrysler. With the fate of the car companies still uncertain at the outset of the Obama administration in 2009, Mr. Obama set up an auto task force headed by "car czar" Steve Rattner.

Under the strategy that was chosen, each of the companies was required to file for bankruptcy as a condition of receiving additional funding. Rather than undergo a restructuring under ordinary bankruptcy rules, however, each corporation pretended to "sell" its assets to a new entity that was set up for the purposes of the sale.