President Donald Trump warned Wednesday that he would have a “scary” amount of power if the Supreme Court upheld former President Barack Obama’s order to give amnesty to illegal immigrants brought to the country as children.

“If the Supreme Court rules that President Obama was wrong, which they should — because, by the way, if he was right, then I’ve been given tremendous power,” Trump said to reporters at the White House. “Can you imagine me having that power? Wouldn’t that be scary? Right?”

The Supreme Court is expected to rule on Obama’s DACA (Deferred Action for Childhood Arrivals) executive order in 2019.

Trump commented on the issue during a cabinet meeting at the White House, as he continues fighting for $5.6 billion in border wall funding for the Southern border.

He acknowledged that any deal on DACA would not likely take place until after the Supreme Court ruling.

“If President Obama is allowed to do what he did on DACA, then I’m allowed to do whatever I want to do,” Trump said, noting that even Obama repeatedly claimed he did not have the authority to enact executive amnesty for illegal immigrants brought to the United States as children.

Trump also signaled interest in wielding executive power on immigration issues after the 2018 midterm elections.

“I think that some of it I can use executive power,” Trump explained in response to a question from Breitbart News during a White House press conference.