Some important details are being left out.
First of all the referendum was not about "term limits". The opposition stated it was and Zelaya stated it wasn't. The actual question in the referendum was whether on not "to hold a National Constituent Assembly to draft a new constitution."
Now the illegal matter comes from this:
On June 23, 2009 the National Congress passed a law forbidding holding referenda and plebiscites less than 180 days before the next general election; as the next elections are set for 29 November 2009. Since this bill was passed after the referendum was scheduled, Zelaya rejected its applicability to this case.
The referendum was set up for a certain date and congress passed a law to not allow this referendum from happening. Zelaya rejected it. As for changing the Honduras Constitution, it is allowed by law except for certain core articles.
As for the way Zelaya was removed even the military's chief lawyer (of Honduras), Colonel Herberth Bayardo Inestroza, stated, "In the moment that we took him out of the country, in
the way that he was taken out, there is a crime."
In addition, Deputy Attorney General Roy David Urtecho "has begun an investigation into why Zelaya was removed from Honduras by force instead of being taken to court"
In addition the ambassadors of Cuba, Venezuela and Nicaragua were taken into custody and assaulted by the military and transported to the airport.
Also, allies of Zelaya, among them several government officials, have been taken into custody by the military.
It is a coup.