The warning comes as the EU faces the prospect of having to protect one of its largest economies from a financial shock that could spread across the bloc.