Or if the practice was simply banned. In Germany companies cold calling private individuals carries a heavy fine (up to several hundred k), and I haven't had a robocall in 20 years.
Having a German (as parent poster) and Spanish phone for many years, I have never had a robocall. It's really surprising to me that this is a problem at all.
No, I'm pretty sure this is very avoidable if phone companies put some effort into it.