US President Donald Trump has taken a swipe at “so political” courts, as his immigration travel ban faces a major legal test.

Mr 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 began by reading from the Immigration and Nationality Act, the 1965 law that gives the president authority to oversee migration.

“It was written beautifully,” Mr Trump said, adding that even “a bad high school student would understand this”.