Welcome to the oligarchy. Time to get rid of habeas corpus.
Article I of the Constitution says writs of habeas corpus are a privilege that "shall not be suspended, unless when in cases of rebellion or invasion the public safety may require it." That direction "is almost universally understood to authorize only Congress to suspend habeas corpus,"
There is no rebellion or invasion. The only reason why Trump would do this is because he's losing in court.