I don't the right prior here is "elections = real democracy", for cases like Iraq. The US has long history of installing "democratic" governments that are not actually democratic, but rather military states who violently suppress the people, but support US interests. The list of countries where this has borne out is long, but if you are interested, an easy place to start would be Cold War era South America (Guatemala and El Salvador being two straightforward examples).