WASHINGTON (AP) — Consumer advocates have complained that U.S. mortgage lenders are getting off easy in a deal to settle charges that they wrongfully foreclosed on many homeowners.

Now it turns out the deal is even sweeter for the lenders than it appears: Taxpayers will subsidize them for the money they're ponying up.

The Internal Revenue Service regards the lenders' compensation to homeowners as a cost incurred in the course of doing business. Result: It's fully tax-deductible.

Critics argue that big banks that were bailed out by taxpayers during the financial crisis are again being favored over the victims of their mortgage abuses.

"The government is abetting the behavior by not preventing the deduction," said Sen. Charles Grassley, R-Iowa. "The taxpayers end up subsidizing the Wall Street banks after the headlines of a big-dollar settlement die down. That's unfair to taxpayers."

Under the deal, 12 mortgage lenders will pay more than $9 billion to compensate hundreds of thousands of people whose homes were seized improperly, a result of abuses such as "robo-signing." That's when banks automatically approved foreclosures without properly reviewing documents.

Regulators reached agreement this week with Goldman Sachs and Morgan Stanley. Last week, the regulators settled with 10 other lenders: Bank of America, JPMorgan Chase, Wells Fargo, Citigroup, MetLife Bank, PNC Financial Services, Sovereign, SunTrust, U.S. Bank and Aurora. The settlements will help eliminate huge potential liabilities for the banks.

Many consumer advocates argued that regulators settled for too low a price by letting banks avoid full responsibility for wrongful foreclosures that victimized families.

That price the banks will pay will be further eased by the tax-deductibility of their settlement costs. Companies can deduct those costs against federal taxes as long as they are compensating private individuals to remedy a wrong. By contrast, a fine or other financial penalty is not tax-deductible.

Taxpayers "should not be subsidizing or in any way paying for these corporations' wrongdoing," said Phineas Baxandall, a senior tax and budget analyst at the U.S. Public Interest Research Group, a consumer advocate.

Spokesmen for several of the banks in the mortgage settlement didn't immediately respond to requests for comment. Bank of America and Citigroup declined to comment.

In some rare cases, federal regulators that have reached financial settlements with companies have barred them from writing off any costs against their taxes, even if they might be legally entitled to do so. The Securities and Exchange Commission did so, for example, in 2010 in a $550 million settlement with Goldman. That case involved civil fraud charges over the sale of risky mortgage bonds before the financial crisis erupted.

It was the largest amount ever paid by a Wall Street bank in an SEC case. But the SEC defined nearly all the $550 million as a civil penalty. That meant it couldn't serve as a tax deduction for Goldman. The agency cited "the deterrent effect of the civil penalty."

In that case, the SEC appeared to want to send a message at a time of public anger over Wall Street excess, said James Cox, a Duke University law professor and expert on the SEC. Cox noted that when they negotiate financial settlements, companies consider whether they can deduct some of their costs.

Similarly, when BP agreed in November to plead guilty and pay a record $4.5 billion in the 2010 Gulf oil spill disaster, the Justice Department got BP to agree not to deduct the cost of the settlement against its U.S. taxes.

The total BP will pay includes about $1.3 billion in fines. But it also includes payments of $2.4 billion to the National Fish and Wildlife Foundation and $350 million to the National Academy of Sciences. Normally, those payment would have been tax-deductible.

The banks that just settled with regulators over their mortgage abuses are getting off lightly, Cox suggested. When the amount companies must pay in a settlement "is just the cost of doing business, there's not very much deterrence value there," he said.

At least one lawmaker, Sen. Sherrod Brown, D-Ohio, wants regulators to bar the tax deductibility of the lenders' costs. Brown made his argument in a letter to Federal Reserve Chairman Ben Bernanke, U.S. Comptroller of the Currency Thomas Curry and other top regulators. The Fed and the comptroller's office, a Treasury Department agency, negotiated the foreclosure abuse settlements with the banks.

"It is simply unfair for taxpayers to foot the bill for Wall Street's wrongdoing," Brown wrote in the letter dated Thursday. "Breaking the law should not be a business expense."

Unfair, too, in the eyes of Charles Wanless, a homeowner in the Florida Panhandle who is fighting his lender over foreclosure proceedings. As Wanless sees it, the government is giving help to banks that it refuses to give to troubled homeowners, who still must pay their full share of taxes.

"The government comes after us for every little bit of money we have," Wanless said.

Bryan Hubbard, a spokesman for the comptroller's office, declined to comment on Brown's letter. Fed spokesmen couldn't immediately be reached for comment.

Also on HuffPost:

Loading Slideshow...
  • Silvio Berlusconi: Scandal As Usual

    He remains on trial for alleged sex with an underage prostitute. He was sentenced to a year in jail in October for tax fraud. Yet Italian media billionaire and former prime minister Silvio Berlusconi was still toying with the idea of running for re-election as of a few weeks ago. <a href="http://www.telegraph.co.uk/news/worldnews/silvio-berlusconi/9748985/Silvio-Berlusconi-announces-engagement-to-27-year-old.html">He also introduced the media to his 27-year-old fiance in December</a>. He's 76, and still married to his second wife. Just another year in the life of the Bunga Bunga king. <a href="http://www.forbes.com/pictures/mlf45jfkj/thor-batista/">Read more at Forbes</a>.

  • Donald Trump's Video Gaffe

    Days before the presidential election, <a href="http://www.forbes.com/profile/donald-trump/">Donald Trump</a> set eyeballs rolling the world over by posting a <a href="http://www.youtube.com/watch?v=MgOq9pBkY0I&feature=youtu.be&hd=1">YouTube video</a> making President Obama an offer he wouldn't be able to refuse, to use a cliche not far removed <a href="https://www.facebook.com/photo.php?pid=26987232&l=9c7529f686&id=153080620724">from the real estate mogul’s own words</a>. The billionaire <a href="http://www.politico.com/blogs/burns-haberman/2012/05/trump-obama-born-in-kenya-124569.html">birther</a> gave the President a week to produce his college records and passport applications in return for a $5 million donation to the charity of Obama’s choice. His move derided in the press as, at best, a ploy for attention -- and needless to say,the President didn't bite. At the time, Trump told Forbes he'd had positive feedback from the video. <a href="http://www.forbes.com/pictures/mlf45jfkj/thor-batista/">Read more at Forbes</a>.

  • Koch brothers' "Partisan" Pandering?

    America's richest brothers Charles and David (pictured) Koch are rarely out of the headlines, but <a href="http://www.forbes.com/sites/clareoconnor/2012/10/15/koch-brothers-pro-romney-letter-to-staff-is-koch-pac-non-partisan-as-they-claim/">October's accusations were more serious</a> than the usual implications of secret electioneering. Shortly before the presidential election, liberal political magazine In These Times <a href="http://inthesetimes.com/article/14017/koch_industries_sends_45000_employees_pro_romney_mailing">obtained and published a packet</a> of voting information sent to 45,000 employees of Koch Industries paper subsidiary Georgia-Pacific. The materials included a list of Koch-endorsed candidates — those who “have received support from a Koch company or Koch PAC”, the company’s political action committee. For Oregon staffers, that list was comprised solely of Republicans: 14 of them at state level, plus the Romney/Ryan presidential ticket. Koch Industries denied any partisanship, but <a href="http://www.forbes.com/sites/clareoconnor/2012/10/15/koch-brothers-pro-romney-letter-to-staff-is-koch-pac-non-partisan-as-they-claim/">said the company supported "market-based policies and economic freedom."</a> <a href="http://www.forbes.com/pictures/mlf45jfkj/thor-batista/">Read more at Forbes</a>.

  • 5-Hour Energy: Death Investigation

    Manoj Bhargava, the one-time monk turned energy shot entrepreneur, <a href="http://www.forbes.com/sites/clareoconnor/2012/02/08/manoj-bhargava-the-mystery-monk-making-billions-with-5-hour-energy/">made his debut on the 2012 Forbes World's Billionaires list</a> thanks to 5-Hour Energy, his two-ounce cocktail of caffeine and B vitamins that flies off the shelves at Wal-Marts and bodegas nationwide. In November, the FDA announced it was investigating Bhargava's product in relation to 13 deaths, calling the safety of energy supplements into question. The <a href="http://www.mlive.com/business/detroit/index.ssf/2012/12/5-hour_energy_takes_to_youtube.html">billionaire took to YouTube in December to defend 5-Hour-Energy</a> -- a rare foray into the public eye for the quiet entrepreneur. <a href="http://www.forbes.com/pictures/mlf45jfkj/thor-batista/">Read more at Forbes</a>.

  • Rausing Family Tragedy

    This year's most bizarre billionaire story is also the saddest. In July, Hans Kristian Rausing, 49-year-old <a href="http://www.forbes.com/profile/hans-rausing/">scion of a Swedish milk carton fortune</a>, was arrested on suspicion of drug possession in South London. Police then searched his five-story mansion in the city’s pricey Cadogan Place and<a href="http://www.forbes.com/sites/clareoconnor/2012/07/10/drug-addict-billionaire-packaging-heir-arrested-as-socialite-wife-found-dead/"> found the body of his American-born wife Eva</a>. The couple had struggled with addiction for years; Eva had once been arrested trying to smuggle heroin and crack into a party at London's US Embassy. It emerged during police investigations that Hans had been living alongside Eva's corpse for some weeks. He was <a href="http://www.forbes.com/sites/clareoconnor/2012/07/18/billionaire-hans-kristian-rausing-charged-with-preventing-burial-after-living-with-wifes-dead-body-eva-rausing-kemeny-tetra-pak/">charged with "preventing the lawful and decent burial" of his late wife</a>, who was subsequently found to have died of a cocaine overdose. <a href="http://www.forbes.com/pictures/mlf45jfkj/thor-batista/">Read more at Forbes</a>.

  • Pinault's Baby Mama Drama

    French fashion tycoon Francois-Henri Pinault comes from a family worth some $13 billion. His great wealth was at the crux of <a href="http://www.forbes.com/sites/clareoconnor/2012/05/03/billionaire-baby-daddy-drama-linda-evangelista-takes-fashion-mogul-francois-pinault-to-court/">a nasty court case involving his one-time girlfriend, supermodel Linda Evangelista</a>, who claimed the billionaire heir hadn't paid a cent (or euro, as the case may be) in child support for the son he fathered five years earlier. Since then, Pinault has married another beauty, actress Salma Hayek (pictured with the Gucci mogul). Pinault implied in court that he thought Evangelista may have gotten pregnant on purpose during their brief relationship. Lawyers for the cover girl countered that he'd lavished money and attention on his child with Hayek while ignoring his son Augie. The couple settled for an undisclosed amount in May. <a href="http://www.forbes.com/pictures/mlf45jfkj/thor-batista/">Read more at Forbes</a>.