Actually, the statute gives Trump the authority. The problem is that the statute itself might not be legal. As Gorsuch said the legislature can't give up their powers to the executive.
Yeah, this will be another open and shut case like the Comey and James' cases are. Smith is in serious trouble.
However, Halligan's appointment in Virginia could be illegal so Comey and James might walk.
Smith won't be that lucky.