WASHINGTON — Attorney General William P. Barr said on Tuesday that district court judges who have put a stop to dozens of President Trump’s policies illustrate the extent to which the judiciary has amassed power far beyond its constitutional authority rather than how the administration has violated the law.

“Some say this proves that the Trump administration is lawless,” Mr. Barr said in a speech on Tuesday evening to the American Law Institute. “Not surprisingly, I disagree.”

Pointing to the broad use of nationwide injunctions, in which local cases are used to block nationwide policies, Mr. Barr said that the courts have undermined executive authority. The injunctions have also thrust the judicial branch into the political process and encouraged plaintiffs with strong political leanings to bring lawsuits just to frustrate the work of the president, Congress and even other district judges, he said.

“If we consider how things ought to work, it is perverse,” Mr. Barr said. “Rather than an orderly pattern of litigation in which the government loses some cases and wins others, with issues percolating their way through the appellate courts, we have an interdistrict battle fought with all-or-nothing injunctions.”