I don't know the exact scenario in Croatia or Brazil;
In general, writing off loans sets a bad precedent. People would again take loans, and will want the Govt. to bail them out. I have seen these things happen in India. There were cases people took loans and were waiting for the next election, to get their loans waived off.