President Trump said Tuesday that he is prepared to take the case for his now-frozen travel ban to the Supreme Court — but added that he hopes it doesn’t come to that.

“We're going to take it through the system,” Trump said. “It's very important for the country. … We’ll see what happens. We have a big court case. We’re well represented.”

Trump’s comments came as a federal appeals court prepared to hear arguments later Tuesday on his directive temporarily barring refugees and those from seven Muslim-majority countries from entering the United States.

Talking to reporters at a White House event with local sheriffs, Trump said the Islamic State has made its intentions known to have terrorists infiltrate the United States through its immigration system.

“And then we’re not allowed to be tough on the people coming in? Explain that one,” Trump said.

Asked whether he is prepared to press his case to the Supreme Court, Trump said: “Hopefully it doesn’t have to. It’s common sense.”

“Some things are law, and some things are common sense,” Trump added. “This is common sense.”