At a speech at a Washington law enforcement conference Wednesday, President Donald Trump again attacked the nation's judicial system, this time for having the temerity to hear arguments on both sides of a case against his immigration ban.

"I mean, it's so sad when you read something so perfectly written and so clear to anybody and then you have lawyers — I watched last night in amazement and I heard things that I couldn't believe," Trump said as he addressed the Major County Sheriffs' Association and Major Cities Chiefs Association this morning.

"Courts seem to be so political," the president told an assembled crowd of police chiefs and sheriffs, "and it would be so great for our justice system if they would be able to read the statement and do what’s right. And that has to do with the security of our nation which is so important."

In what CNBC described as "the rambling opening to his speech," Trump quoted a 1952 statute "that gives the president sweeping authority on immigration-related matters, claiming that he acted entirely within the law," the Washington Examiner reports.

According to the statute, the president, "by proclamation, and for such period as he shall deem necessary" may suspend the entry of some aliens or impose "restrictions he may deem appropriate," CNBC reports:

At one point, Trump said the law should have read "he or she," adding that "hopefully it won't be a she for at least another seven years."

"You can suspend, you can put restrictions, you can do whatever you want, and this is for the security of the country," Trump argued.

"You can be a lawyer or you don't have to be a lawyer. If you were a good student in high school or a bad student in high school, you can understand this," he said during Wednesday's remarks.

The President is certainly familiar with the travails of a "bad student in high school": According to a Washington Post report from 2015, the president:

Went to the private Kew-Forest School in Forest Hills, Queens, where his father, Frederick, a very wealthy real estate developer, was on the governing board. Behavior problems led to Donald’s exit from the school, at which point he was sent to the New York Military Academy at age 13 by his parents, who, according to Biography.com, hoped “the discipline of the school would channel his energy in a positive manner.”

On Wednesday morning, Trump marveled that the courts took time to mull the case, saying that "It's really incredible to me that we have a court case that's going on so long...we're in an area where let's just say they are interpreting things differently than probably 100 percent of the people in this room."

Or maybe not, as the Associated Press reports that though those in attendance "snapped photos with their phones as the president spoke" they only "clapped sparingly when he asked whether they were in agreement with his views on the immigration ban."

"I have to be honest that if those judges wanted to, in my opinion, help the court in terms of respect for the court, they'd do what they should be doing," Trump said Wednesday. "Right now, we are at risk because of what happened."

This isn't the first time Trump has attacked a judge or the judicial system for not blindly going along with his wishes: In 2016, he criticized Indiana-born Judge Gonzalo Curiel, for his Mexican heritage during a fraud case against Trump University. Then, this past Saturday he slammed US District Judge James Robart of Seattle, who put the immigration ban on hold, saying "The opinion of this so-called judge, which essentially takes law-enforcement away from our country, is ridiculous and will be overturned!"

Trump continued this morning's critique of the US court system with a tweet on the topic, saying "Big increase in traffic into our country from certain areas, while our people are far more vulnerable, as we wait for what should be EASY D!" Of course, "EASY D" is open to interpretation — though some might assume the "D" is for "decision," others went the same direction as, admit it, you did:

During Tuesday's hearing, Judge Michelle Friedland said that the court recognized the urgency and would issue a ruling "as soon as possible," likely by the end of the week (but not today). You can listen to a full audio file of Tuesday's hearing here:

Previously: Appellate Judges Question Administration's Lawyer On Trump's Public Statements On Muslims