Passing a constitutionally valid law through congress and then having the executive branch enforce it would not meet any judicial resistance.
I suspect the courts would welcome it.