Republican and Democratic lawmakers last night reportedly came to an agreement on border enforcement funding to avert another government shutdown before the Friday deadline. Yet after all this drama, it's unclear if Democrats accomplished much beyond virtue signaling to their base. If anything, they may have given Trump a green light to forge ahead with his draconian interior enforcement agenda without any meaningful oversight of Immigration and Customs Enforcement (ICE).

Details of the deal are still trickling in but it seems clear that after House Speaker Nancy Pelosi pledged not to give Trump even a "dollar" for his wall, Democrats agreed to hand him $1.375 billion to build a 55-mile long barrier in the Rio Grande Valley. They're trying to spin this as mere "pedestrian fencing." Trump, who is never shy of staring a gift horse in the mouth, is saying it’s not enough. But it's pretty clear that Democrats gave in.

In addition, they agreed to hand the Department of Homeland Security an additional $1.7 billion for border security, including technology at ports of entry, more officers and, as an afterthought, some humanitarian aid.

Handing Trump some wall money might have been worth it if Democrats had got something in return like legalizing the DREAMers (folks who've grown up in America after being brought to the country without proper authorization as minors) and others whose temporary protected status Trump scrapped. But Democrats failed to even put this on the table despite many hints by Republicans that they would consider a DREAMer-for-wall deal. The Democratic Party seems to be more interested in rallying their base with the issue than actually solving it.

Even worse, Democrats capitulated to the administration's demand for maintaining its inflated detention bed capacity to house unauthorized immigrants, the lynchpin of its draconian enforcement actions.

Negotiations broke down over the weekend because Democrats were insisting on limiting funding for "only" 35,000 detention beds with the stipulation that no more than 16,500 would be used for housing immigrants picked up from the interior, i.e. not at the border. This was a very modest attempt to restore some sanity — and humanity — to this administration's interior enforcement policies given that the first thing that Trump did upon assuming office was scrap former President Barack Obama's priority enforcement program. This program, implemented at the tail end of Obama's term after he'd set deportation records, confined ICE to rounding up only those aliens in the interior who had criminal records while leaving others alone. But Trump made everyone fair game, including those who've lived peacefully in the country for years.

To aid Trump's efforts, the Republican-controlled Congress gave him funds for around 40,500 detention beds. This represented about a 6,500 increase over previous years. But Trump exceeded even that inflated authorization, maintaining a daily population of 48,000 detained immigrants — including 20,000 from the interior.

Where did that money come from? Basically, by raiding the Federal Emergency Management Agency and other agencies within the Department of Homeland Security, arguably a violation of the Anti-Deficiency Act, the federal law that prohibits agencies from diverting funds not explicitly authorized by Congress. All in all, DHS spent $4.1 billion on ICE's detention and removal operations in 2018, a 30 percent spike over the $3.2 billion spent in 2016. This is an unconscionable waste given that border apprehensions have dropped precipitously over the last decade, Trump's fear mongering about the migrant caravan notwithstanding.

Trump says that any cutbacks in this detention capacity would force him to release violent aliens. But that's simply not true. An analysis last summer by Syracuse University's Transactional Records Access Clearinghouse found that 75 percent of the immigrants typically detained have no prior convictions or have been engaged in only minor offenses like traffic violations. This means that even if Trump's detention capacity were cut in less than half, no violent offenders would need to be released.

But that didn't stop Trump from demanding funding for 52,000 beds during the budget negotiations. The Democrats didn't give him that but they agreed to fund 40,520 beds — or 5,520 over their original offer and pretty much what the Republican-controlled Congress handed Trump last year. Worse, this is not a hard statuary cap so Trump can keep trying to exceed it by ginning up funds from elsewhere as he's been doing. (It's unclear right now if Democrats are insisting on any limits on housing interior detentions.)

Democrats are trying to sell this as a reasonable compromise by claiming that this funding level represents a 17-percent cut in detention over current levels. But Trump was maintaining those levels using unauthorized funds. In other words, far from calling out Trump for illegally exceeding Congressional limits, Democrats are using Trump's detention levels as their official baseline.

So, all in all, Trump got more money for a border barrier, enhanced border security, and increased detention capacity. What did Democrats get? Absolutely nothing. Zilch. Nada.