Much of Trumps legal standing is based off of powers granted to the executive in Obamas 2012 NDAA. If anything, Trump can raise awareness on that and get that bullshit repealed. Even without that, still has legal standing a few times over.
Obama broke the law to get his shit done.