President Donald Trump expressed confidence Wednesday that the U.S. Supreme Court will act in his favor on upcoming litigation to end DACA, a move that he said will help him negotiate with Democrats over funding the border wall.

During a freewheeling press conference, Trump sketched a scenario in which the high court strikes down the Deferred Action for Childhood Arrivals program, thereby creating an opportunity for him to resurrect some version of it and win over Democratic support for the $5.6 billion security wall at the Mexican border.