If I remember correctly Trump lost in court to use the military and military funds to build the wall. I might be wrong but it seems like I remember a court ruling of such.