Poland beat Brazil but will again go head-to-head with the South Americans in the forthcoming Olympics.