The Democratic sweep of the US midterm elections has transformed the political balance in Washington, but it has not transferred control of foreign policy from the White House to Congress.