Congress can and does legislate policy and induce that policy to be executed by the president, but Congress has not constitutional right to dictate the policy of the president for him or deny him his own right to formulate non-legislative policy. Denying the president this right is a form of legislative veto, which the supreme court has ruled unconstitutional.
He should have said that in public.
Walt