This article is more than
7 year oldMr Trump told a gathering of police chiefs in Washington DC that he has the right to enact his executive order.
His remarks came a day after an appeals court heard a challenge to the Republican president's policy.
It temporarily suspends the US refugee programme and bans travel for citizens of seven Muslim-majority countries.
Addressing police chiefs on Wednesday morning, Mr Trump said: "I don't ever want to call a court biased, so I won't call it biased.
He added: "Courts seem to be so political and it would be so great for our justice system if they would be able to read a statement and do what's right.
"And that has to do with the security of our country, which is so important."
He continued: "It's sad, I think it's a sad day."
Praising the clarity of immigration law, Mr Trump added: "I was a good student. I understand things. I comprehend very well. OK? Better than, I think, almost anybody."
During his remarks, the president also said a Boston federal judge who had ruled in favour of his policy was a "highly respected" and "perfect" jurist.
Mr Trump also referred to his immigration ban as a "weapon".
"We have to give you the weapons that you need," he told police chiefs, "and this is a weapon that you need and they're trying to take it away from you, maybe because of politics or maybe because of political views."
Also on Wednesday morning, Mr Trump criticised retailer Nordstrom after it decided not to stock the new clothing line of his daughter, Ivanka Trump.
"My daughter Ivanka has been treated so unfairly by @Nordstrom," Mr Trump tweeted.
"She is a great person - always pushing me to do the right thing! Terrible!"
Shares of the retailer fell 0.7%, before rallying slightly.
In Tuesday's hearing, the San Francisco-based 9th US Circuit Court of Appeals posed tough questions at those challenging and defending Mr Trump's travel ban.
The court is expected to issue a ruling as early as Wednesday.
But the case will probably end up at the Supreme Court, the nation's top judicial body.
The court must decide whether Mr Trump acted within his authority or violated the US Constitution's prohibition on laws favouring one religion over another, as well as anti-discrimination laws.
The 9th Circuit is expected to rule on whether a lower court judge in Seattle - whom Mr Trump called a "so-called judge" - acted properly in temporarily halting enforcement of the president's order.
Mr Trump's 27 January order seeks to bar travellers from Iran, Iraq, Libya, Somalia, Sudan, Syria and Yemen from entering the US for 90 days.
It would also ban all refugees for 120 days and indefinitely exclude those from Syria.
Democrats and other critics have said Mr Trump's comments about the judiciary attack a core principle of US democracy that courts are supposed to be independent.
The judiciary is a co-equal branch of the US government, along with Congress and the president's executive branch, under the Constitution.
Newer articles