The headline on this column promises some thoughts about the Supreme Court, so I’ll now turn to the court. The country’s attention was focused elsewhere two weeks ago when five justices gave the Trump administration precisely what it needed to put into effect one of the most meanspirited and unjustified of all its recent immigration policies. This was the radical expansion of the “public charge” rule, which bars from admission or permanent residency an immigrant who is “likely at any time to become a public charge.”

The concept of “public charge” in itself is nothing new. It was part of the country’s early efforts to control immigration in the late 19th century, where it was used to exclude those likely to end up in the poor house or its equivalent. That historic definition — “primarily dependent on the government for cash assistance or on long-term institutionalization” — was codified in 1999 “field guidance” issued to federal immigration officers.

Last August, the administration put a new definition in place. Any immigrant who receives the equivalent of 12 months of federal benefits within a three-year period will be deemed a public charge, ineligible for permanent residency or a path to citizenship. The designated benefits include nutrition assistance for a child under the SNAP program; receipt of a Section 8 housing voucher or residence in public housing; and medical treatment under Medicaid. The new rule, titled Inadmissibility on Public Charge Grounds, aggregates the benefits — that is, three of the benefits received in a single month count as three months of the 12.

States, cities, and nonprofit organizations around the country promptly filed lawsuits, with varying preliminary outcomes. The plaintiffs argued that the drastic change in definition was “arbitrary and capricious,” violating the Administrative Procedure Act’s core requirement of “reasoned decision making.”

In October, a federal district judge in New York, George Daniels, ruled in favor of two sets of plaintiffs, one group headed by New York State and the other, a coalition of nonprofit organizations. Judge Daniels noted that the government was “afforded numerous opportunities to articulate a rational basis for equating public charge with receipt of benefits for 12 months within a 36-month period, particularly when this has never been the rule,” but that its lawyers “failed each and every time.” He explained that “where an agency action changes prior policy, the agency need not demonstrate that the reasons for the new policy are better than the reasons for the old one. It must, however, show that there are good reasons for the new policy.”

And Judge Daniels added: “The rule is simply a new agency policy of exclusion in search of a justification. It is repugnant to the American dream of the opportunity for prosperity and success through hard work and upward mobility.” Noting that the policy would immediately cause “significant hardship” to “hundreds of thousands of individuals who were previously eligible for admission and permanent residence in the United States,” he issued a nationwide injunction to block its implementation.

The United States Court of Appeals for the Second Circuit put the government’s appeal on a fast track but refused, in the interim, to grant a stay of the injunction. So, predictably, the administration turned to its friends at the Supreme Court and, equally predictably, got what it wanted. By a vote of 5 to 4, the court granted a stay of the injunction to last through a future Supreme Court appeal.