Instituto de Crédito Oficial (ICO), a state-owned Spanish bank, has issued a €500 million ($562 million) green note that matures in 2024.