I find it pretty incredible that two countries like those already had politicians who were aware of bitcoin was in 2014, and the law passed in 2014 it may even mean that they proposed the law back in 2013. These people/countries could have been years and years ahead anyone else in the world and, especially for Bolivia, their economy could have improved a lot.
The Bolivian ban wasn't a law but a Central Bank resolution, like I wrote above. It's not an absolute ban, but those entities who are subject to the Central Bank's authority are banned to use cryptocurrencies. But there are no fines for citizens using cryptoassets.
A Central Bank resolution can be decided in a month, or even a week if enough political will is there. I remember the Bolivian central bank had worries about the stability of the local currency, thus it implemented the ban.
Later there was a clarification (I think it was in 2018 or 2019) with more precisions about what was explicitly prohibited. I don't find the link to the document anymore, but basically, financial institutions can't use the local electronic financial networks for anything related to cryptocurrencies (we talked about that in the Spanish subforum), and local exchanges are prohibited to exist. The document mentioned however explicitly that the intention wasn't to ban blockchain tech entirely, and that innovations in this space (e.g. by software companies) weren't subjects of the regulation.