Anna, I did the integration course in the Netherlands, and I'd say it was worth it for reasons that had nothing to do with the language certificate.
The language part was solid but slow. The real value was the other half of the course: the practical lessons about how things work here. How to read a letter from the tax office, how the healthcare system is organised, what's expected at a parents' evening at school, why people schedule a coffee three weeks in advance. Things my Dutch friends couldn't explain because they'd never had to think about them.
And the classmates. Twelve people from nine countries, all trying to understand the same strange rules at the same time. Two of them are now among my closest friends here, and one helped me find my job. So if your residency path counts the course, as Jimmy mentioned, it's doing double duty. If it doesn't, I'd still do it, for the classmates alone.