Euclid preparation. VII. Forecast validation for Euclid cosmological probes