Let us suppose that Manuel Zelaya, the ousted former president of Honduras, is an intelligent man with a good understanding of how politics works. Then the question is: what is his game? Because he started all this.
He was removed from office three months ago in circumstances of doubtful legality.
Both the Supreme Court and the Congress had demanded his removal for "repeated violations of the constitution and the law", but the way it was done - woken up by soldiers and hustled out of the country by plane - smelled more like an old-fashioned military coup.
A member of Mr Zelaya's own Liberal Party, Roberto Micheletti, the speaker of Congress, was sworn in as interim president, and everybody promised that normal democratic service would be fully restored after the elections due on November 29.
But every non-Honduran with access to a microphone took up Mr Zelaya's cause, from the Organisation of American States to the US State Department, and he emerged as a fully-fledged democratic martyr.
The left-wing leaders who have proliferated across Latin America in recent years were particularly supportive of Mr Zelaya.
Despite Brazilian president Luiz Inacio (Lula) da Silva's firm denials, the suspicion lingers that Mr Zelaya's sudden reappearance inside the Brazilian embassy in Tegucigalpa on Monday did not come as a complete surprise to the Brazilians. Now he is holed up there, surrounded by the Honduran army.
It's the perfect scene for a media watch that puts enormous pressure on Mr Zelaya's opponents to make concessions - or alternatively, the ideal location for a massacre of his supporters by trigger-happy soldiers, in which case popular opinion shifts to Mr Zelaya's side and he returns triumphantly to power.
Or, at least, that is probably his plan.
Am I being too cynical? OK, let's consider the evidence.
Mr Zelaya was in the closet before he became president.
He secured the nomination of the Liberal Party, a slightly left-of-centre party which has traditionally alternated in power with the right-wing National Party, and he narrowly won the presidency in the 2006 election.
But it was only after he was safely in the presidential mansion that he dropped the mask and started moving Honduras sharply left. But he did not achieve much in practice for the Honduran poor, and he failed to build mass support for his policies.
Opinion polls this year put his popular approval at only 25%.
Moreover, he was running out of time, since the Honduran constitution only allows presidents one term in office and his term ended this year.
So he did something peculiar: he announced that there would be a non-binding referendum on creating a constituent assembly to change the constitution and allow presidents a second term.
It was peculiar because he had no legal right to hold such a referendum, nor does the Honduran constitution allow a constituent assembly to be elected for such a purpose.
Even if the illegality of the process was ignored, there was no chance that it could all happen in time to let him run for a second term in the November election.
In any case, his own party would refuse to renominate him.
So what was his game? Mr Zelaya's only chance of holding on to power was to create a crisis that would sweep all of those considerations aside.
He pressed ahead with his plans for a referendum last June even after the Supreme Court declared it illegal.
When the army refused to assist in the referendum, he fired the commander-in-chief.
So the congressional and judicial authorities moved against him, although they would have been wiser just to wait him out.
Mr Zelaya may not have foreseen the precise manner of his removal from office, but he was clearly seeking a confrontation that would destabilise the existing constitutional order.
It was his only chance of staying in power.
He's halfway there.
His dramatic return to the country has created semi-siege conditions in the capital, and it's unlikely that the November elections can go ahead in the circumstances.
That already improves his prospects, because it drives the country beyond the usual constitutional procedures.
Mr Zelaya has already painted himself as the democratically elected victim of a military coup, and as such he enjoys unprecedented foreign support.
If his domestic opponents are stupid enough to use force, he could actually win.
Judging by their past performance, they may be that stupid.
Gwynne Dyer is an independent London journalist.