A good lawye does help, it depends how much he is willing to spend.
I'm not really sure if that's the case in Poland since courts here are so biased against men.
And first and foremost don't divorce in Poland try to do it in some other country or something. You're doubly ****** as a man and a foreigner(that's even more the case now when nationalism in Poland is on the rise).