Unironically, tariffs would help here IMO to bring Ukrainian exports to the price levels set by EU wages.

I’d even tie it directly to wages and lift it if the Ukrainian exporter can prove they pay as much as a Polish company.