Markets had already assumed that Panama would lose its investment grade rating, which had an impact on the country's funding…