You don't actually believe that out of 1 million Ukrainians in Poland, there are only legitimately 6,000 refugees.
According to official Polish governmental sources, it seems that way. Even if there were more, Poland doesn't recognize and provide for them. The rest are are no more refugees than Polish migrants who are working in Germany.
are in fact refugees
They are not refugees if they have not applied for protection in Poland. They are economic migrants, which again is good for Poland, but no argument in the refugee dispute.
millions of barbarians
We are still talking about people here, have some respect please.
Germany acted alone and caused this crisis,
Germany did not cause the crisis. The crisis was already unfolding for months when Merkel acted, with the Southern European countries futily asking for help. We know by now that Merkel had been secretly informed by several countries on the Balkan route that their adminastrations were in danger of being overwhelmed by the number of arrivals, and that many observers feared that if Austria were to close the route, the number of refugees left in the Balkans could destabilize the entire region. It was obvious in August 2015 that something needed to be done soon to help those countries, and this is what Merkel did. Like with the Ukraine Crisis, she sacrificed German economic interest for the sake of the EU and Europe.
and reached a deal,
You mean a deal like the one Poland refuses to honor, even though it only applies to a small number of refugees. A reasonable deal would have had to be brokered and implemented within weeks and affect at the very least 500.000 refugees, nothing of this is remotely realistic.
Poland has made its' decision and will live with the consequences. That is fine with me. I just hope there won't be any talk of "Western betrayal" once the political and financial fallout becomes clear, or at the very least the Polish people should be smart enough to understand why such accusations would be unfounded.
Amusingly, this might be beneficial to Germany, since it is no longer the boogeyman in Southern Europe because of the refugee crisis. It looks e.g. like Italy has now dropped its' resistance against the North Stream 2 pipeline out of gratitude for German help during the refugee crisis.