https://www.epo.org/en/service-support/faq/applying-patent/validation-system/will-opposition-limitation-or-revocation

Will opposition, limitation or revocation proceedings have an effect on the validated patent?

Yes, to the extent that a validated European patent is revoked in opposition or central revocation proceedings or is limited in limitation proceedings before the EPO, it is deemed to be void ab initio.