Well yeah, they can pass the law, but that doesn't mean it has to be obeyed. Presidents routinely issue signing statements to protect their powers from Congressional infringement.