Executive agencies have to obey the Administrative Procedures Act which is not a high bar and yet the current administration doesn't always manage to clear it; it has had several policies turned back by SCOTUS for not being able to come up with a facially valid reason.