They could just exchange the crypto coins for their local currency at a fixed rate, and say that the local fiat currency will no longer be accepted after "x" date. This is how the Euro was distributed.
AFAIK Ecuador does not have local currency, they uses bucks. why not support bitcoin, rather than inventing yet another bicycle?..
The Ecuador government could implement a similar deadline as the EU did with the various local currencies. It could mandate that their citizens start to use their crypto coin starting on a certain date. Citizens could have a grace period as to when both the US dollar and their currency would be accepted.
With all that being said, IMO this is very unlikely because the dollar is accepted almost anywhere in the world and has a much more stable value then bitcoin does.