The decision in New York comes as the cash-strapped country faces an economic crisis and a presidential election.