Actually, Congress cannot just pass any law. The other branches are free to ignore a law if that law attempts to take away their constitutional powers. Congress is not the superior branch. It cannot legislate away the powers of the other branches, anymore than the President can dissolve Congress by executive order. And the President won't be punished unless there are enough votes for impeachment, because the courts refuse to get involved in such disputes between the executive and legislative branch.