Legal trouble with whom? Do you really think the DoJ is going to prosecute people for doing what the admin demands?
Better question, do you think they will hesitate to throw all the underlings who were told to make it happen under the bus if someone successfully challenges it?