(BLOOMBERG) — The U.S. Supreme Court appeared poised to uphold President Donald Trump’s travel ban as two key justices used an argument session to aim skeptical questions at a lawyer challenging the policy.

Hearing the last case of its nine-month term Wednesday, the court took its first direct look at a policy that indefinitely bars more than 150 million people from entering the country. Opponents, led at the high court by Hawaii, say Trump overstepped his authority and was motivated by anti-Muslim animus.

Chief Justice John Roberts suggested he doubted that the policy was unconstitutionally tainted by Trump’s campaign call for a Muslim ban at the border. Roberts asked whether those types of comments would prevent a president from taking the advice of his military staff to launch an air strike against Syria.

Note: Read our discussion guidelines before commenting.