It doesn't give the full story.
Originally, the plan had been to provide them to the Iraqi army. Apparently, the offer was refused. I am not sure whether they took on the Mi-17s or W-3s, I believe they were also on offer. I guess not (haven't heard anything since). So I guess they are taking the transport helicopters back to Poland, which are in high demand in NATO, together with the younger Mi-24V Hinds.
Only few Mi-24Ds remained in Poland last time I checked. The Mi-24Vs were planned to be upgraded under a joint European effort. But Mil didn't support it, so it was abandoned. Some other nations have since found other options with Mil or in case of Bulgaria IAI with Mil support, although the latter didn't go as planned either. The Czech bought new Mi-35Ps offsetting Russian debt with the country, swapping the -Vs and retiring the -Ds. I don't know the status of the Polish plans, but anyway this -D was scheduled for retirement anyway as it had been already decided to upgrade the -V Hinds only.
Anyone with more info, please post.