Newly uncovered internal memos reveal the Obama administration knowingly exaggerated charges of racial discrimination in probes of Ally Bank and other defendants in the $900 billion car-lending business as part of a “racial justice” campaign that’s looking more like a massive government extortion and shakedown operation.

So far, Obama’s Consumer Financial Protection Bureau has reached more than $220 million in settlements with several auto lenders since the agency launched its anti-discrimination crusade against the industry in 2013. Several other banks are under active investigation.

That’s despite the fact that the CFPB had no actual complaints of racial discrimination — it was all just based on half-baked statistics.

A confidential 23-page internal report detailing CFPB’s strategy for going after lenders shows why these companies are forking over millions of dollars in restitution and fines to the government despite denying any wrongdoing.

The high-level memo, sent by top CFPB civil-rights prosecutors to the bureau’s director and revealed by a House committee, admits their methods for proving discrimination were seriously flawed from the start and had little chance of holding up in court. Yet they figured they could muscle Ally, as well as future defendants, with threats and intimidation.

“Some of the claims being made in this case present issues, such as use of [race] proxying and reliance on the disparate-impact doctrine, that would pose litigation risks meriting serious consideration prior to taking administrative action or filing suit in district court,” the Oct. 7, 2013, memo addressed to CFPB chief Richard Cordray acknowledges.

“Nevertheless,” it added, “Ally may have a powerful incentive to settle the entire matter quickly without engaging in protracted litigation.”

At the time, the Detroit-based bank was seeking permission from the Federal Reserve to remain a financial holding company. Without regulatory approval, Ally risked losing key business lines, primarily its insurance subsidiaries.

“Protracted litigation” would present “a high hurdle” to Ally retaining such status, the CFPB lawyers conspired.

‘The evidence of discrimination on the basis of race and national origin is strictly statistical’ - the CFPB admitted in a footnote in a report

Prosecutors also sought to use the Community Reinvestment Act as leverage against Ally. At the time, the FDIC was reviewing the bank’s compliance with the anti- redlining law.

They huddled with FDIC and Federal Reserve officials to get them on board with their scheme; and the Fed assured them it would look favorably upon “a prompt and robust” settlement by Ally, while the FDIC confirmed that a quick resolution would help Ally pass its CRA exam.

So CFPB applied the screws to Ally, saying it had “statistical evidence” showing its participating dealers were “marking up” loan prices for blacks and Hispanics vs. whites (by an average of $3 a month). Ally fought back, insisting non-discriminatory factors, such as credit history, down payments, trade-ins, promotions and rate-shopping, explained differences in loan pricing. After conducting a preliminary regression analysis, the bank found these factors alone accounted for at least 70 percent of the “racial disparities” the government was claiming.

CFPB admits in the memo that it never considered these or other legitimate business aspects of the car deals it investigated: “Such factors were excluded as controls from the markup analysis.”

Also in its initial rebuttal, Ally complained CFPB’s entire case was based on “disparate impact” statistics, not actual complaints by consumers, and that those estimates relied on guesswork about the race of the borrowers. (The auto industry does not report borrower race, so CFPB tried to ID race by last name and ZIP code, a so-called “proxy” method that is wildly inaccurate.)

“The evidence of discrimination on the basis of race and national origin is strictly statistical,” the agency confessed in a report footnote.

Nevertheless, Ally caved and cut a deal. Prosecutors initially demanded $204 million in payola before settling on $98 million.

With Ally’s holding-company status set to expire Dec. 24, 2013, it formally settled on Dec. 20, and was reapproved by the Fed on Dec. 23, 2013.

With all these machinations hidden from public view, Cordray held a press conference to announce “the federal government’s largest auto-loan discrimination settlement in history.” He claimed that 235,000 minorities had been harmed by Ally, even though he didn’t know the race of a single borrower or whether they had actually been harmed.

“He had no idea how many actual victims there were because their whole case rested entirely on statistical estimations they admitted internally were inaccurate,” said a senior staffer for the House Financial Services Committee, which recently obtained the internal documents from CFPB.

In fact, CFPB still has not been able to definitively ID the race of any borrower it claims Ally victimized — which is why it has taken more than two years to send remuneration checks to alleged victims. Desperate to find them, the bureau recently had to mail 420,000 letters to Ally borrowers to coax at least 235,000 into taking the money, and to allow Cordray to save face.

Checks started going out this month to the fictitious victims — just in time for the election. So what if some recipients are white? They will all no doubt thank Democrats for the sudden, unexpected windfall of up to $520 in the mail.

Paul Sperry is a visiting Hoover Institution media fellow and author of “The Great American Bank Robbery,” which exposes the racial politics behind the mortgage bust.

sperry@sperryfiles.com