All recent coups in Latin America (and several coups outside) follows the exact same script: overthrown the government and say that is temporary and you will organize new elections. During this time, use propaganda, media, repression and sometimes new laws to weaken the overthrowned group so that they will lose the elections. Foreign countries that support the coup can just initially say that they are worried with the "crisis", but then will rapidly recognize the new elected government, avoiding the embarass of openly support an obvious dictatorship.
This same script is being used at least for 20 years now (I remember being used in Equador). But its last part failed in Bolivia.