The issue is a population that has a massive number of elderly to care for while having few young people to do it.
Ireland had no problem having tons of kids who left the country upon reaching adulthood, even though the total population was shrinking.
And definitely an aging non-working population can be a downward drag on a capitalist economy as well. Even though they live longer, they are still to some extent "exiting the economy" since they usually live off fixed incomes and don't contribute to the labor pool.
In aggregate, though, you still need growth to make capital investment make sense. There may be other ways to achieve it than population growth overall, especially in small niches, but if you lose that source of growth it should have ramifications on the economy, even if they're counteracted.
[1] Do you have a source on the ireland thing? I'm not really finding anything. And which Ireland for that matter? There are effectively at least three polities called that in that period. All with very different access to markets, political situations, etc.
Fundamentally, if the number of people participating in the economy shrinks, the economy will shrink, and our late capitalist system is extremely ill equipped to deal with that.
Now there's also a powerful movement against immigration, that is also aggressively for increasing birth rates to fend off an imagined conspiracy to "replace" them, which makes this a particularly thorny problem for the political class.