It is also worth noting that only referendums approved by a two-thirds vote of the Honduran Congress may be put to the voters. Far from approving Zelaya's proposal, Congress voted that it was illegal.
The attorney general filed suit and secured a court order halting the referendum. Zelaya then announced that the voting would go forward just the same, but it would be called an "opinion survey." The courts again ruled this illegal. Undeterred, Zelaya directed the head of the armed forces, Gen. Romeo Vasquez, to proceed with the "survey" -- and "fired" him when he declined. The Supreme Court ruled the firing illegal and ordered Vasquez reinstated.
Zelaya had the ballots printed in Venezuela, but these were impounded by customs when they were brought back to Honduras. On June 25 -- three days before he was ousted -- Zelaya personally gathered a group of "supporters" and led it to seize the ballots, restating his intent to conduct the "survey" on June 28. That was the breaking point for the attorney general, who immediately sought a warrant from the Supreme Court for Zelaya's arrest on charges of treason, abuse of authority and other crimes. In response, the court ordered Zelaya's arrest by the country's army, which under Article 272 must enforce compliance with the Constitution, particularly with respect to presidential succession. The military executed the court's order on the morning of the proposed survey.
It would seem from this that Zelaya's arrest by the military was legal, and rather well justified to boot. But, unfortunately, the tale did not end there. Rather than taking Zelaya to jail and then to court to face charges, the military shipped him off to Costa Rica. No one has yet explained persuasively why summarily sending Zelaya into exile in this manner was legal, and it most likely wasn't.
This illegality may entitle Zelaya to return to Honduras. But does it require that he be returned to power?
No. As noted, Article 239 states clearly that one who behaves as Zelaya did in attempting to change presidential succession ceases immediately to be president. If there were any doubt on that score, the Congress removed it by convening immediately after Zelaya's arrest, condemning his illegal conduct and overwhelmingly voting (122 to 6) to remove him from office. The Congress is led by Zelaya's own Liberal Party (although it is true that Zelaya and his party have grown apart as he has moved left). Because Zelaya's vice president had earlier quit to run in the November elections, the next person in the line of succession was Micheletti, the Liberal leader of Congress. He was named to complete the remaining months of Zelaya's term.