Poland can fly those planes themselves and leave them on some airstrip in Romania or Moldova for Ukraine
—
Romania is a NATO country; Moldova is a neutral country; Transnistria is Russian controlled
So what? Nato doesn’t have to approve transfers of weapons to non-member nations.