Forecasting performance of CMB experiments in the presence of complex foreground contaminations