House Speaker Paul Ryan on Tuesday threw cold water on President Trump’s plan to unilaterally end the constitutional right to citizenship for babies born in the States to non-citizens.

“You cannot end birthright citizenship with an executive order,” the Wisconsin Republican said during an interview with Lexington, Kentucky, radio station WVLK.

“Well, you obviously cannot do that. You know, as a conservative, I’m a believer in following the plain text of the Constitution, and I think in this case the 14th Amendment is pretty clear, and that would involve a very, very lengthy constitutional process,” he said.

With the midterms days away, Trump has said he wants to unilaterally end the constitutional right to citizenship for babies born in the States to non-citizens.

The commander-in-chief outlined his latest hardline anti-illegal immigrant position during an interview with “Axios on HBO” in which he claimed he had the legal authority to overturn the right, which is enshrined in the Constitution’s 14th Amendment.

“It was always told to me that you needed a constitutional amendment. Guess what? You don’t,” Trump said, insisting he could do it by executive order.

“You can definitely do it with an Act of Congress. But now they’re saying I can do it just with an executive order,” he said, adding incorrectly: “We’re the only country in the world where a person comes in and has a baby, and the baby is essentially a citizen of the United States.”

Roughly 30 countries, including Canada, offer birthright citizenship to babies born to undocumented parents.

Most legal scholars agreed with Ryan that Trump cannot unilaterally change the US Constitution, and they predicted a bruising legal battle if he were to try.