There are no CSAM laws that require this sort of privacy violation, and it would be a gross overstep by any government to mandate it.
If they enabled E2EE iCloud after this it'd be just for marketing purposes, because client-side encryption is being circumvented it would render the whole promise of privacy as a lie.