Yea, if you need to heavily leverage library X then use whatever it's written for. However, if you simply need a way to generate a few simple PDF's or something then that's a different story.
Personally, I prefer to use the most productive language for a project I can get away with because the largest risk is you are simply never going to finish it.