Poland slams EU parliament resolution