The impact of macroeconomic developments and imbalances on fiscal outcomes