Document:

<PAGE>

                                                                    EXHIBIT 10.4

                                                                  EXECUTION COPY

                         PENSION AND EMPLOYEE BENEFITS
                      ASSUMPTION AND TRANSITION AGREEMENT

          THIS PENSION AND EMPLOYEE BENEFITS ASSUMPTION AND TRANSITION
AGREEMENT, dated as of June 8, 2001 (this "Agreement"), is entered into by and
between Plains Resources Inc., a Delaware corporation ("Parent"), Plains All
American Inc., a Delaware corporation and wholly-owned subsidiary of Parent
("PAAI") and Plains All American GP LLC, a Delaware limited liability company
(the "Successor GP").  Capitalized terms used herein, unless otherwise defined
herein, shall have the meanings assigned to them in the Contribution Agreement
(defined below).

                                   WITNESSETH

          WHEREAS, pursuant to multiple Unit Transfer and Contribution
Agreements, dated as of May 8, 2001 or thereafter, each as amended from time to
time (collectively, the "Contribution Agreement"), by and among Parent, PAAI and
certain purchasers ("Buyers"), Buyers are purchasing certain subordinated units,
a portion of the general partner interest and incentive distribution rights of
Plains All American Pipeline, L.P. (the "MLP"), effective as of the Closing Date
of the Contribution Agreement;

          WHEREAS, prior to the Closing Date, PAAI was the sole general partner
of the MLP and certain affiliates of the MLP;

          WHEREAS, prior to the Closing Date, PAAI has, among other actions,
formed the Successor GP pursuant to the Delaware Limited Liability Company Act
and in connection with the Contribution Agreement, all of the property used in
the trade or business of PAAI as general partner of the MLP will be transferred
to the Successor GP;

          WHEREAS, in connection with the Contribution Agreement, all of the
property used in the trade or business associated with the headquarter employees
described in Section 1(a)(ii) of this Agreement will be transferred by Parent to
the Successor GP;

          WHEREAS, in connection with the Contribution Agreement, the Successor
GP will succeed to the management and business activities formerly performed by
PAAI;

          WHEREAS, pursuant to Section 5.10(a) of the Contribution Agreement, as
of the Closing Date, Parent, PAAI and the Successor GP shall (i) identify the
headquarter employees of Parent engaged in the business of managing the MLP that
will be transferred to the Successor GP and (ii) provide for the immediate
transfer of employment of such headquarter employees and the immediate transfer
of all of the current employees of PAAI to the Successor GP (collectively, the
"Transferred Employees") and make such arrangements as are necessary with
respect to compensation and employee benefit plans for Transferred Employees,
all as immediately as practicable;

                                       1
<PAGE>

          WHEREAS, pursuant to Section 5.10(a) of the Contribution Agreement, as
of the Closing Date, Parent, PAAI and the Successor GP are to determine the
treatment of obligations and liabilities under certain employee benefit plans in
which Transferred Employees participate and enter into any transition services
arrangements deemed necessary by the parties for a period of no more than three
months following the Closing Date;

          WHEREAS, Parent, PAAI and the Successor GP desire to set forth their
obligations and liabilities with respect to Transferred Employees and to
establish necessary transition services arrangements for Transferred Employees;
and

          WHEREAS, this Agreement is being executed simultaneously with the
Closing of the Contribution Agreement.

          NOW, THEREFORE, in consideration of the premises and the mutual
covenants contained herein, the parties hereto agree as follows:

          Section 1.    Transferred Employees' Covenants.

          (a)  Transferred Employees. The Transferred Employees shall include
     (i) all of the employees employed by PAAI immediately prior to the Closing
     Date and (ii) the headquarter employees employed by Parent immediately
     prior to the Closing Date who perform services related to the business of
     managing the MLP and are identified on Schedule A attached hereto.

          (b)  Employment Agreements. Effective as of the Closing Date, the
     Successor GP will assume the obligations under the employment agreements
     between Parent and Greg Armstrong dated March 1, 1993, as amended, and
     between Parent and Harry Pefanis dated November 23, 1998, in accordance
     with the amendment and restatement of such employment agreements as
     approved by the Board of Directors of PAAI as sole member of the Successor
     GP.

          (c)  Transition and Retention Bonuses. The transition bonuses approved
     by the Compensation Committee of Parent on May 7, 2001 for certain
     Transferred Employees will be paid by Parent to each such Transferred
     Employee for the account of the Successor GP as soon as practicable
     following the date such bonuses are earned. In addition, any portion of the
     retention bonus under the Parent's retention bonus program announced to
     employees in December 2000 with respect to a Transferred Employee that is
     unpaid as of the Closing Date will be paid by Parent to each such
     Transferred Employee for the account of the Successor GP as soon as
     practicable following the date such bonus is earned in accordance with the
     retention bonus program. Parent shall grant each Transferred Employee
     credit for service with the Successor GP for all purposes under the
     Parent's retention bonus program.

          (d)  1996 Stock Incentive Plan.

                 (i)   With respect to options granted to Transferred Employees
          (who are not key employees described in Section 1(d)(ii) below) under
          Parent's 1996 Stock Incentive Plan that are unvested and forfeitable
          as of the Closing Date, each

                                       2
<PAGE>

          such Transferred Employee shall receive an amount of cash equal to the
          difference between (A) the average of the closing sales prices on the
          American Stock Exchange of the Parent stock for the five trading days
          immediately preceding the date hereof and (B) the option exercise
          price of such options, multiplied by the number of unvested shares
          subject to such options. Such amount shall be paid by Parent as soon
          as practicable following the Closing Date .

                 (ii)   With respect to options granted to certain key
          Transferred Employees (identified on Schedule B attached hereto) under
          Parent's 1996 Stock Incentive Plan that are unvested on the Closing
          Date, PAAI shall grant, and the Successor GP shall assume
          administrative responsibility for, phantom equity awards payable in
          subordinated units of the MLP (or, to the extent such subordinated
          units have been converted into common units, payable in common units)
          comparable in value to such options and subject to the same vesting
          schedule as such options. The number of subordinated units of the MLP
          subject to such phantom equity awards shall be determined for each
          such Transferred Employee by (A) multiplying the difference between
          (1) the average of the closing sales prices on the American Stock
          Exchange of the Parent stock for the five trading days immediately
          preceding the date hereof and (2) the option exercise price of such
          options, by the number of unvested shares subject to such options, and
          (B) dividing the result in clause (A) by $22.00, rounded up to the
          nearest whole unit. Such phantom equity awards shall provide for
          distribution equivalent rights ("DERs"), i.e., the right to receive
          the cash equivalent of any distributions made with respect to a
          subordinated unit during the period from the Closing Date and prior to
          the vesting of such phantom equity award, that shall be payable in
          cash on the vesting of the applicable phantom equity award. Parent
          shall, or shall cause its Affiliates to, deliver to each such
          Transferred Employee for the account of the Successor GP on or prior
          to vesting such number of subordinated units of the MLP subject to
          phantom equity awards and cash equal to the DERs as determined above
          in accordance with the vesting schedule of such phantom equity awards.
          Documents evidencing such grants shall be delivered as soon as
          practicable after the Closing Date.

          (e)  Officers' Retirement Plan. The vesting service for each of the
     Transferred Employees with a Deferred Compensation Agreement on the date
     hereof is set forth in Schedule C attached hereto. With respect to the
     vested portion of his Deferred Compensation Agreement, each such
     Transferred Employee shall have the option to receive (X) (i) such number
     of subordinated units of the MLP valued at $22.00 equal to the Present
     Value of such obligation on the date hereof rounded up to the nearest whole
     unit, or (ii) cash equal in value to the Present Value of such obligation
     on the date hereof (provided such Transferred Employee applies such cash
     (net of taxes required under (Y) below) to the purchase of an interest in
     PAA Management LLC and PAA Management, L.P.) (Y) less applicable tax
     withholding. Present Value for this purpose shall have the meaning set
     forth in the applicable Deferred Compensation Agreement. Parent hereby
     agrees that it shall pay or deliver such amounts with respect to each such
     Transferred Employee's Deferred Compensation Agreement as soon as
     practicable on or following the date hereof in accordance with the
     Transferred Employee's instructions. In

                                       3
<PAGE>

     consideration of the receipt of the amounts described in the foregoing
     provisions of this clause (e), each Transferred Employee shall agree to
     relinquish all rights with respect to such Transferred Employee's Deferred
     Compensation Agreement.

          (f)  Long-Term Incentive Plan. Effective as of the Closing Date, the
     Successor GP shall assume the PAAI 1998 Long-Term Incentive Plan and all
     outstanding awards granted thereunder that are unvested as of the Closing
     Date on the same terms and conditions. All non-employee director awards
     will vest on the date hereof in accordance with their terms. Such director
     awards shall be paid by PAAI or its Affiliates in accordance with the terms
     of the plan as soon as practicable following the date hereof and PAAI shall
     be reimbursed by the MLP for such payments in accordance with the MLP
     Partnership Agreement. Except with respect to such director awards, Parent
     and PAAI shall have no future liability with respect to such plan and such
     unvested awards; provided, however, that the parties hereto acknowledge
     that the Successor GP, upon vesting of such awards, may seek to satisfy
     such awards by the purchase of common units of the MLP directly or
     indirectly from Parent or PAAI.

          (g)  Qualified Retirement Plans.

                 (i)    Parent 401(k) Plan.

                 (A)  As soon as practicable after the date hereof, the
          Successor GP shall establish or designate, and maintain, a qualified
          defined contribution plan (the "Successor 401(k) Plan") to provide
          benefits to the Transferred Employees who, on the Closing Date, are
          participants in the Parent 401(k) Plan ("Plan Participants") which are
          substantially equivalent to the benefits provided to participants
          under the Parent 401(k) Plan (provided, however, that all matching
          contributions may be paid in cash).  The Successor 401(k) Plan shall
          be qualified under Sections 401(a) and 401(k) of the Code and shall
          provide the Plan Participants credit for service with Parent and its
          affiliates (including PAAI) and their respective predecessors prior to
          the Closing Date for all purposes for which service was recognized
          under the Parent 401(k) Plan.

                 (B)  As soon as practicable after the filing of the
          determination letter request described in clause (C) below, Parent
          shall cause the trustee of the Parent 401(k) Plan to transfer to the
          trust forming a part of the Successor 401(k) Plan cash or assets in
          which Plan Participants are currently invested (or with respect to
          participant loans granted prior to the Closing Date, if any, such
          loans and any promissory notes or other documents evidencing such
          loans) in an amount equal to the account balances of Plan Participants
          as of a valuation date (the "Valuation Date") not more than 60 days
          preceding the date of transfer, increased by any contributions due for
          periods prior to the Closing Date and not made as of the Valuation
          Date, reduced by any benefits paid during the period following such
          Valuation Date to the date of transfer, and adjusted for any
          investment earnings or losses during the period following such
          Valuation Date to the date of transfer (the "Account Balances").

                                       4
<PAGE>

                 (C)  No later than 60 days after the Closing Date, the
          Successor GP shall file a request for a determination letter with the
          IRS that the Successor 401(k) Plan and related trust satisfy the
          requirements for qualification under Sections 401(a) and 401(k) of the
          Code. The Successor GP agrees that it shall amend the Successor 401(k)
          Plan in any respect as may be required by the IRS in order to receive
          a favorable determination letter from the IRS that the Successor
          401(k) Plan and related trust satisfy the requirements for
          qualification under Sections 401(a) and 401(k) of the Code. No
          transfer shall be made unless the Successor GP files with the IRS the
          request for determination letter referred to in this clause (C).

                 (D)  In consideration of the agreements of Parent contained
          in clauses (B) and (C) of this Section 1(g)(i), the Successor GP
          shall, effective as of the Closing Date, assume all of the liabilities
          and obligations of Parent and its affiliates in respect of the Plan
          Participants and their beneficiaries under the Parent 401(k) Plan, and
          Parent and its affiliates and the Parent 401(k) Plan shall, except to
          the extent set forth in this Agreement, be relieved of all liabilities
          and obligations to the Plan Participants and their beneficiaries
          arising out of the Parent 401(k) Plan.

                 (ii)   Permian Plans. Effective as of the Closing Date, the
          Successor GP acknowledges and agrees that it shall take all actions
          necessary to assume the responsibilities and activities formerly
          performed by Parent and PAAI with respect to the administration of the
          Permian Corporation Savings Plan and Permian Corporation Retirement
          Plan. Parent and PAAI shall have no future liability with respect to
          such responsibilities and activities.

          (h)  W-2 Matters. Pursuant to IRS Revenue Procedure 96-60, the
     Successor GP shall assume Parent's and PAAI's respective obligations to
     furnish Forms W-2 to Transferred Employees for the calendar year in which
     the Closing Date occurs. Parent and PAAI will provide the Successor GP with
     any information relating to periods ending on the Closing Date necessary
     for the Successor GP to prepare and distribute Forms W-2 to Transferred
     Employees for the calendar year in which the Closing Date occurs, which
     Forms W-2 will include all remuneration earned by Transferred Employees
     from Parent, PAAI and the Successor GP during such year, and the Successor
     GP will prepare and distribute such forms.

                 (i)  The Successor GP Plans. No later than the end of the
     Transition Period (as defined below): (i) the Successor GP shall establish,
     for the benefit of the Transferred Employees, employee benefit plans (the
     "Successor GP Plans") that will provide benefits comparable to those
     provided to the Transferred Employees under the Parent Plans identified in
     Schedule D hereto, and (ii) the Transferred Employees will be participants
     in the Successor GP Plans to the extent that any such Transferred Employees
     were participants in the Parent Plans during the Transition Period.
     Further, (i) the Transferred Employees who are participants in the
     Successor GP Plans shall receive credit for service with Parent and PAAI to
     the same extent service was counted under similar Parent Plans; (ii) with
     respect to medical, dental and health plans established by the Successor
     GP, any

                                       5
<PAGE>

     such plans (a) shall not include pre-existing conditions exclusions
     except to the extent that such exclusions were applicable under the similar
     Parent Plan immediately prior to the end of the Transition Period, and (b)
     shall provide credit in the current year for any deductibles and
     co-payments applied or made with respect to each Transferred Employee.

          Section 2.  Transition Period. Except as otherwise provided herein,
     during the period commencing after the close of business on the Closing
     Date and ending on June 30, 2001, or such earlier date as mutually agreed
     upon by the parties hereto (the "Transition Period"), the Transferred
     Employees will continue to be provided with the benefits under certain
     employee benefits plans of Parent and PAAI as set forth herein. For
     purposes of Section 1 of this Agreement, the Closing Date shall be the last
     day of the Transition Period.

          Section 3.    Services.

          (a)  Transition Services. During the Transition Period, Parent shall
     provide (or cause its Affiliates to provide) the following services (the
     "Transition Services") to the Successor GP on behalf of the Transferred
     Employees:

                 (i)   payroll processing, payroll deduction, tax withholding
          and tax reporting services.

                 (ii)   maintenance and administration of the plans of Parent
          and PAAI identified on Schedule D hereto (the "Parent Plans") for the
          benefit of the Transferred Employees in accordance with and subject to
          the terms of the Parent Plans. All employee contributions of
          Transferred Employees under the Parent Plans shall be deducted in
          accordance with the payroll deduction processes maintained by Parent
          consistent with past practice and paid by Parent to the Parent Plans
          in accordance with the terms of the Parent Plans.

          (b)  For twelve months following the date hereof (and for such longer
     period as to which the parties may hereafter agree), Parent shall provide
     the services of the Parent's Environmental Health and Safety Manager to the
     Successor GP on the same basis that such services were provided to PAAI.

           Section 4.    Standard of Services.

           (a)  Parent shall perform the Transition Services at comparable
     levels of performance, completeness, care and attention and in accordance
     with service standards- and operating procedures, that are consistent with
     the practices of Parent in performing such services prior to the Closing
     Date of the Contribution Agreement.

          (b)  The Successor GP shall make available to Parent on a timely basis
     all data, information and other materials within its control that are
     reasonably necessary for Parent to perform, or cause to be performed, the
     Transition Services. The parties hereto agree that Parent shall have no
     liability for any failure to perform or for the late performance of any of
     the Transition Services to the extent such non-performance or late
     performance

                                       6
<PAGE>

     results from having failed to provide, or cause be provided to, Parent, the
     data, information or other materials required to perform the Transition
     Services.

          (c)  Parent shall (i) maintain records regarding Transition Services
     in the same manner that it has kept records for itself prior to the date
     hereof, and (ii) provide the Successor GP with reasonable access to such
     records.

          Section 5.   Employee Benefits Costs and Reimbursements. Parent shall
     invoice the Successor GP for, and Successor GP shall pay or cause to be
     paid, all employee benefits and compensation costs and reimbursements in
     amounts and in time periods consistent with past practice utilized by
     Parent and PAAI in connection with employee services provided to the MLP.
     In addition, employee benefits and compensation costs and reimbursements
     with respect to services provided by Parent's Environmental Health and
     Safety Manager to the Successor GP shall be payable by the Successor GP
     under this Agreement consistent with past practice of such employee's
     provision of services to PAAI.

          Section 6. Covenants. Notwithstanding anything in this Agreement to
     the contrary, in the event that, following the date hereof, Parent, PAAI
     and the Successor GP determine any additional transition services not
     described in this Agreement exist, Parent, PAAI and the Successor GP hereby
     agree to cooperate and negotiate in good faith with respect to the
     provision of any such transition services for a period of up to three
     months following the Closing Date.

          Section 7. Independent Contractor. Parent shall not have any
     responsibility with respect to the management or operation of the business
     being transferred to Successor GP, and its responsibilities shall be
     limited to providing the Transition Services described herein. Parent shall
     provide the Transition Services as an independent contractor only, and this
     Agreement does not and shall not be construed as creating a joint venture,
     partnership or agency relationship between the parties. No employee of one
     party shall be considered an employee of the other party for any purpose.

          Section 8. Indemnification.

          (a)  Indemnification by Parent and PAAI. Notwithstanding any other
     provisions of this Agreement, each of Parent and PAAI hereby agrees to
     indemnify and hold harmless: (i) the Successor GP, (ii) each of the
     Successor GP's Subsidiaries and Affiliates (each as defined in the
     Contribution Agreement), and (iii) each of their respective directors,
     officers, employees, agents, representatives, successors and assigns, from
     and against, any liability, loss, damage, cost or expense (including
     reasonable attorneys' fees and disbursements), incurred or suffered by any
     such indemnified person with respect to, (1) any claims or suits brought by
     any third party against any such indemnified person with respect to, or
     arising out of, any action (or omission) by a Transferred Employee
     identified on Schedule A attached hereto on or before the last day of the
     Transition Period; or (2) any claims or suits brought by any Transferred
     Employee identified on Schedule A attached hereto (or his or her
     beneficiary, representative or estate) against any such indemnified person
     (X) with respect to, or arising out of, any

                                       7
<PAGE>

     action (or omission) by such indemnified person occurring or deemed
     incurred on or before the last day of the Transition Period, or (Y) with
     respect to, or arising out of, or relating to all claims under the
     applicable Parent Plans, occurring or deemed incurred on or before the last
     day of the Transition Period. In addition, each of Parent and PAAI hereby
     agrees to indemnify and hold harmless: (i) the Successor GP, (ii) each of
     the Successor GP's Subsidiaries and Affiliates (each as defined in the
     Contribution Agreement), and (iii) each of their respective directors,
     officers, employees, agents, representatives, successors and assigns, from
     and against any liability, loss, damage, cost or expense (including
     reasonable attorney's fees and disbursements), incurred or suffered by any
     such indemnified person with respect to, (i) any claim for health benefits
     (including, without limitation, claims for medical, prescription drug,
     dental or vision care expenses), (ii) any claim for medical or disability
     benefits and (iii) any claim for benefits other than health benefits (e.g.,
     life insurance benefits or any claim relating to employment laws), to which
     any Transferred Employee (or his or her beneficiary, representative or
     estate) is entitled under the Parent Plans. For purposes of this Agreement,
     (i) a claim for health benefits (including, without limitation, claims for
     medical, prescription drug, dental and vision care expenses) will be deemed
     to have been incurred on the date on which the related medical service or
     benefit was rendered or received, (ii) a claim for medical, or disability
     benefits will be deemed to have been incurred upon the occurrence of the
     event giving rise to such claims, and (iii) in the case of any claim for
     benefits other than health benefits (e.g., life insurance benefits or any
     claim relating to employment laws), a claim will be deemed to have been
     incurred upon the occurrence of the event giving rise to such claims .

          (b)  Indemnification by the Successor GP. Notwithstanding any other
     provision of this Agreement, the Successor GP hereby agrees to indemnify
     and hold harmless: (i) each of Parent and PAAI, (ii) each of Parent and
     PAAI's Subsidiaries and Affiliates (each as defined in the Contribution
     Agreement), and (iii) each of their respective directors, officers,
     employees, agents, representatives, successors and assigns, from and
     against, any liability, loss, damage, cost or expense (including reasonable
     attorneys' fees and disbursements), incurred or suffered by any such
     indemnified person with respect to, (A) any claims or suits brought by any
     third party against any such indemnified person with respect to, or arising
     out of, any action (or omission) by a Transferred Employee (except that,
     with respect to a Transferred Employee identified on Schedule A attached
     hereto, such indemnification shall relate to any action or omission by such
     Transferred Employee after the last day of the Transition Period), (B) any
     claims or suits brought by any Transferred Employee (or his or her
     beneficiary, representative or estate) against any such indemnified person
     (X) with respect to, or arising out of, any action (or omission) by the
     Successor GP, occurring or deemed incurred after the last day of the
     Transition Period, or (Y) to the extent not indemnified pursuant to the
     second sentence of Section 8(a), with respect to, or arising out of, or
     relating to all claims under the applicable Parent Plans or any other claim
     arising out of or related to a Transferring Employee's employment (except
     that, with respect to a Transferred Employee identified on Schedule A
     attached hereto, such indemnification shall relate to any such claim
     occurring or deemed incurred after the last day of the Transition Period)
     or (C) with respect to or arising out of, or relating to any claims by
     third parties in connection with the provision by Parent of the Transition
     Services if Parent shall have complied with the

                                       8
<PAGE>

     standard of service set forth in Section 4(a) in connection with the event
     giving rise to the claim.

          Section 9. Notices. All notices which are required or may be given
     pursuant to the terms of this Agreement shall be deemed to have been duly
     given if such notice is given in accordance with the terms of the
     Contribution Agreement or to such other address as either party may, from
     time to time, designate by written notice given in like manner.

          Section 10. Waiver. Any waiver of any term of this Agreement must be
     in writing and signed by the party against whom enforcement of the waiver
     is sought. No waiver of any condition, or of the breach of any provision
     hereof, in any one or more instances, shall be deemed to be a further or
     continuing waiver of such condition or breach. Delay or failure to exercise
     any right or remedy shall not be deemed the waiver hereof.

          Section 11. Entire Agreement. This Agreement and the schedules
     attached hereto constitute the entire agreement between the parties hereto
     with respect to the subject matter hereof and supersedes all prior
     agreements and understandings, oral and written between the parties hereto
     with respect to the subject matter hereof. No representation, warranty,
     promise, inducement or statement of intention has been made by either party
     which is not embodied in this Agreement or such other documents, and
     neither party shall be bound by, or be liable for, any alleged
     representation, warranty, promise, inducement or statement of intention not
     embodied herein or therein.

          Section 12. Governing Law. This Agreement shall be governed by, and
     construed in accordance with, the laws of the State of Texas applicable to
     contracts executed in and to be performed in that state and without regard
     to any applicable conflicts of law. All actions and proceedings arising out
     of or relating to this Agreement shall be heard and determined in any Texas
     state or federal Court located in Houston, Texas. In connection with the
     foregoing, each of the parties to this Agreement irrevocably (i) consents
     to submit itself to the personal jurisdiction of the state and federal
     Courts of competent jurisdiction located in Houston, Texas, (ii) agrees
     that it will not attempt to deny or defeat such personal jurisdiction by
     motion or other request for leave from any such Court, and (iii) hereby
     consents to service of process pursuant to the notice provisions set forth
     in Section 9 of this Agreement.

          Section 13. Headings. The headings appearing at the beginning of
     sections contained herein have been inserted for identification and
     reference purposes and shall not be used to determine the construction or
     interpretation of this Agreement.

          Section 14. Counterparts. This Agreement may be executed in
     counterpart copies, all of which when taken together shall be deemed to
     constitute one and the same original instruments.

          Section 15. Binding Effect. This Agreement shall inure to the benefit
     of and be binding upon the parties hereto and their respective successors
     and assigns.

                                       9
<PAGE>

     Notwithstanding anything contained in this Agreement to the contrary,
     nothing in this Agreement, expressed or implied, is intended to confer on
     any person other than the parties hereto or their respective successors and
     assigns any rights, remedies, obligations, or liabilities under or any
     reason of this Agreement.

          Section 16. Assignability. Neither this Agreement nor any of the
     parties' rights hereunder shall be assignable by any party hereto without
     the prior written consent of the other party hereto, which consent shall
     not be unreasonably withheld.

          Section 17. Contribution Agreement. This Agreement and the obligations
     of the parties hereunder shall be conditioned upon the closing of the
     Contribution Agreement. If the closing of the Contribution Agreement does
     not occur, or if the Contribution Agreement is terminated or abandoned,
     this Agreement shall become null and void.

                                       10
<PAGE>

          IN WITNESS WHEREOF, the parties hereto have caused this Agreement to
be executed by their duly authorized officers as of the day and year first above
written.

                                      PLAINS RESOURCES INC.

                                     By:  /s/ James C. Flores
                                         ---------------------------
                                     Name:  James C. Flores
                                     Title: Chairman and Chief Executive Officer

                                     PLAINS ALL AMERICAN INC.

                                     By:  /s/ Greg L. Armstrong
                                         ---------------------------
                                     Name:  Greg L. Armstrong
                                     Title: Chief Executive Officer

                                     PLAINS ALL AMERICAN GP LLC

                                     By:  /s/ Greg L. Armstrong
                                         ---------------------------
                                     Name:  Greg L. Armstrong
                                     Title: Chief Executive Officer

                                       11

<PAGE>

                                 SCHEDULE A TO
                         PENSION AND EMPLOYEE BENEFITS
                      ASSUMPTION AND TRANSITION AGREEMENT

Greg L. Armstrong

Monya Churchill

Mary Denton

A. Pat Diamond

Linda Kennedy

Philip D. Kramer

Tim Moore

Harry N. Pefanis

Al Swanson

Carolyn Tice

                                       i
<PAGE>

                                 SCHEDULE B TO
                         PENSION AND EMPLOYEE BENEFITS
                      ASSUMPTION AND TRANSITION AGREEMENT

Greg L. Armstrong

A. Pat Diamond

Philip D. Kramer

Tim Moore

Harry N. Pefanis

Al Swanson

                                      ii
<PAGE>

                                 SCHEDULE C TO
                         PENSION AND EMPLOYEE BENEFITS
                      ASSUMPTION AND TRANSITION AGREEMENT

Employee                                      Years of Service
--------------------                          ----------------

Greg L. Armstrong                                   15

Philip D. Kramer                                    15

Tim Moore                                            5

Harry N. Pefanis                                    15

                                      iii
<PAGE>

                                 SCHEDULE D TO
                         PENSION AND EMPLOYEE BENEFITS
                      ASSUMPTION AND TRANSITION AGREEMENT

                                  PARENT PLANS

  1)  Plains Resources, Inc. Group Health, Dental and Drug Plan
  2)  Plains Resources, Inc. 401k Savings Plan
  3)  Plains Resources, Inc. Life and Accidental Death and Dismemberment Plan
  4)  Plains Resources, Inc. Voluntary Life and Accidental Death and
      Dismemberment Plan
  5)  Plains Resources Inc. Section 125 Cafeteria Plan
  6)  Plains Resources, Inc. Long Term Disability Plan
  7)  The Permian Corporation Savings Plan
  8)  The Permian Corporation Retirement Plan

                                      iv<PAGE>

                                                                    EXHIBIT 10.5

                                                                  EXECUTION COPY

                           VALUE ASSURANCE AGREEMENT

     This Value Assurance Agreement is made as of June 8, 2001, by and among
Plains Resources Inc., a Delaware corporation ("Rodeo"), and Sable Holdings,
L.P. (the "Initial Holder").

                                   RECITALS:

     WHEREAS, the Initial Holder and Rodeo are parties to that certain Unit
Transfer and Contribution Agreement dated as of May 8, 2001 (the "Transfer
Agreement") whereby, among other things, PAAI LLC, a wholly owned, indirect
subsidiary of Rodeo has agreed to sell to the Initial Holder and the Initial
Holder has agreed to purchase from PAAI LLC, 1,905,627 subordinated units of
limited partner interests (the "Subordinated Units") of Plains All American
Pipeline, L.P. (the "Company").

     WHEREAS, it is the intent of the parties that during the term of this
Agreement the Unit Holders shall receive quarterly distributions per
Subordinated Unit in an amount equal to at least the Minimum Distribution (as
hereinafter defined).

     WHEREAS, Rodeo has agreed to pay to the Unit Holders (as hereinafter
defined), on the terms and conditions hereinafter set forth as an adjustment to
the purchase price of the Subordinated Units, such amounts per Subordinated Unit
as are necessary to assure that the Minimum Distributions are realized.

     WHEREAS, as a condition precedent to the consummation of the transactions
contemplated by the Transfer Agreement, Rodeo is required to execute and deliver
this Agreement.

     NOW, THEREFORE, in consideration of the premises, and other good and
valuable consideration, the receipt and sufficiency of all of which are hereby
acknowledged, the parties hereby agree as follows:

                                   AGREEMENT

     Section 1.  Certain Definitions.  As used herein the following terms shall
have the following meanings:

     "Actual Distributions" means, for any Quarter, the amount of Available Cash
distributed by the Company per Subordinated Unit pursuant to Article VI of the
Partnership Agreement.

     "Agreement" means this Value Assurance Agreement, as it may be amended from
time to time in accordance with its terms.

     "Available Cash" has the meaning given such term in the Partnership
Agreement.

     "Common Unit" has the meaning given such term in the Partnership Agreement.
<PAGE>

     "Minimum Distribution" means $0.4625 per Subordinated Unit per Quarter,
subject to proportional adjustment in the event of any distribution, combination
or subdivision (whether effected by a distribution payable in Units or
otherwise) of Units or other Partnership Securities in accordance with Section
5.10 of the Partnership Agreement.

     "Partnership Agreement" means the Second Amended and Restated Agreement of
Limited Partnership of the Company dated as of November 23, 1998, as amended,
modified, supplemented or restated from time to time.

     "Partnership Securities" has the meaning given such term in the Partnership
Agreement.

     "Quarter" has the meaning given such term in the Partnership Agreement.

     "Shortfall Payment" means an amount equal to the product of (A) the Minimum
Distribution less the Actual Distribution, times (B) the number of Subordinated
Units held of record by a particular Unit Holder.

     "Subordinated Units" has the meaning given such term in the Recitals
hereof.

     "Transfer Agreement" has the meaning given such term in the Recitals
hereof.

     "Unit" has the meaning given such term in the Partnership Agreement.

     "Unit Holders" means initially the Initial Holder as owner of the
Subordinated Units and shall include any subsequent permitted transferee in
accordance with Section 6 hereof that is the record holder of Subordinated
Units.

     Section 2.  Assurance of Minimum Distributions.  In the event the Actual
Distribution is less than the Minimum Distribution, Rodeo shall pay to each Unit
Holder their respective Shortfall Payment within 50 days after the end of such
Quarter; provided, however, that no Unit Holder shall be entitled to any
Shortfall Payment if the aggregate amount of Actual Distributions and Shortfall
Payments made to date for that fiscal year (the "Aggregate Payment Amount") is
greater than $1.85 (an "Excess Payment"); provided, further, that if any payment
of any Shortfall Payment would result in an Excess Payment, such Shortfall
Payment shall be reduced so that the Aggregate Payment Amount through and
including the date of such Shortfall Payment equals $1.85 (the "Guaranteed
Amount").  If Rodeo shall fail to timely make any Shortfall Payment as
contemplated by this Section 2, Rodeo agrees to pay interest in respect of any
delinquent amount under this Agreement at the rate per annum that Citibank, N.A.
or any successor entity thereto, announces from time to time as its prime
lending rate.  All Shortfall Payments, and other payments hereunder, shall be
made in immediately available funds to the account of each of the Unit Holders,
or their respective successors and permitted assignees, as appropriate without
offset, deduction or counterclaim of any kind (except as provided for in Section
3 below).  A Unit Holder shall not be entitled to receive any Shortfall Payment
with respect to any Subordinated Unit that has been converted into a Common Unit
other than with respect to any distributions of Available Cash declared but not
paid prior to such Conversion.

                                       2
<PAGE>

     Section 3.  True-Up.  In the event that the Aggregate Payment Amount for
any fiscal year is greater than the Guaranteed Amount, each Unit Holder shall
reimburse Rodeo in an amount equal to the product of (x) the lesser of (A) the
aggregate amount of Shortfall Payments per Subordinated Unit made during that
year and (B) the difference between the Aggregate Payment Amount and the
Guaranteed Amount in respect of such fiscal year (such lesser amount, the "True-
Up Amount") and (y) the number of Subordinated Units held of record by that Unit
Holder. Such reimbursement shall be made in cash within 50 days after the end of
the fiscal year. If any Unit Holder shall fail to timely make any reimbursement
contemplated by this Section 3, such Unit Holder shall pay interest in respect
of any delinquent amount at the rate per annum that Citibank, N.A. or any
successor entity thereto, announces from time to time as its prime lending rate,
and if not paid prior to the date on which any subsequent Shortfall Payment is
to be made, the True-Up Amount shall be set off against such Shortfall Payment.
In the event a Unit Holder has transferred Subordinated Units during such fiscal
year, transferor and transferee shall each be responsible for proportional
payment of the True-Up Amount based upon the Shortfall Payments made to each of
them.

     Section 4.  Absolute Obligation.  Rodeo hereby agrees that this Agreement
constitutes an irrevocable and unconditional obligation to pay and perform all
obligations due hereunder on demand.  Rodeo agrees to make payment and to
perform strictly in accordance with terms hereof regardless of any law,
regulation or equitable principle now or hereafter in effect which would modify
or restrict either the obligations of Rodeo or the rights of the Unit Holders
with respect to this Agreement, and Rodeo waives defenses to the payment or
performance by Rodeo hereunder.  Rodeo and the Unit Holders, with respect to
Section 3 hereof, each hereby agree to the prompt, complete, and full payment of
all expenses and fees (including, without limitation, reasonable attorneys'
fees) incurred in the enforcement of this Agreement.

     Section 5.  Representations and Warranties.  Rodeo hereby represents and
warrants to the Unit Holders as of the date hereof as follows:

     Section 5.1.  Organization and Good Standing. Rodeo is duly organized,
validly existing and in good standing under the laws of the State of Delaware.
Rodeo has the power and authority to conduct its business as it is presently
being conducted and to own or use its properties and assets.

     Section 5.2.  Power, Authority and Enforceability.  Rodeo has all requisite
power and authority to execute, deliver and perform this Agreement.  This
Agreement has been duly and validly authorized and executed by persons with
authority to bind Rodeo and constitutes the legal, valid and binding obligation
of the Rodeo, enforceable against Rodeo in accordance with its terms.

     Section 5.3.  No Conflicts; Consents. The execution, delivery and
performance by Rodeo of this Agreement does not and will not conflict with,
contravene, violate or result in a breach of or default under any laws
applicable to Rodeo or any order, decree or judgment of any court or
governmental authority binding on Rodeo or any agreement or instrument to which
Rodeo is a party or by which it or any of its assets are bound, and will not
result in or require the creation or imposition of any lien, charge or
encumbrance upon any assets of Rodeo.  No authorization or approval or other
action by, and no notice to or filing with, any governmental authority or other

                                       3
<PAGE>

regulatory body or third party is required for the due execution, delivery and
performance by Rodeo of this Agreement.

     Section 5.4.  Legal Proceedings.  There is no action, suit or proceeding
pending or, to the knowledge of Rodeo, threatened against or otherwise affecting
Rodeo before any court, arbitrator or governmental department, commission,
board, bureau, agency or instrumentality that would reasonably be expected to
materially and adversely affect Rodeo's financial condition, properties or
operations or ability to perform its obligations hereunder.

     Section 5.5.  Solvency.  Rodeo is solvent and able to pay its debts as they
become due.  Rodeo's capital is adequate for the businesses in which it is
engaged and intends to be engaged.  Rodeo has not incurred, nor does Rodeo
intend to incur or believe that it will incur, debts which will be beyond its
ability to pay as such debts mature.

     Section 6.  Successors and Assigns. Except as otherwise provided herein,
the terms and conditions of this Agreement shall inure to the benefit of and be
binding upon the parties hereto and their respective successors and assignees.
Rodeo shall not be allowed to assign or otherwise transfer this Agreement and
its rights or obligations hereunder except by operation of law.  A Unit Holder
may assign, grant a participation in, or otherwise transfer any of its rights or
interests hereunder without the consent of the other parties (i) to any third
party in connection with the transfer of Subordinated Units that is permitted
by, and in accordance with, the Transfer Agreement, whereupon such transferee
shall then be a "Unit Holder" for all purposes under this Agreement, and (ii) to
any lender to secure indebtedness of the Unit Holder, or in the event of a
default in any indebtedness of the Unit Holder.

     Section 7.  Termination. This Agreement shall terminate with respect to any
Subordinated Unit at the conversion of such Subordinated Unit into a Common
Unit.  This Agreement shall terminate upon the first to occur of the following:
(i) the date on which all of the Subordinated Units shall have converted into
Common Units or (ii) the fifth anniversary of the date of this Agreement.  A
termination of this Agreement shall have no effect on nor diminish, alter, nor
affect (i) any rights or obligations of the parties hereto which accrued or
arose on or before the date of such termination and (ii) any right or cause of
action and related remedies arising out of a party's breach of this Agreement.

     Section 8.  General.

     Section 8.1.  Choice of Law.  This Agreement will be governed by and
construed in accordance with the laws of the State of Texas other than the
conflict of laws rules thereof.  The parties agree to submit all disputes
arising under or relating to this Agreement to the exclusive jurisdiction of the
state courts and/or United States federal courts located in Harris County in the
State of Texas and consent to the jurisdiction of such courts.

     Section 8.2.  Entire Agreement and Amendments. This Agreements constitute
the entire agreement between the parties and supersedes all agreements,
representations, warranties, statements, promises and understandings, whether
oral or written, with respect to the subject matter

                                       4
<PAGE>

hereof. This Agreement may not be amended, supplemented or otherwise modified
except by a written agreement executed by all parties hereto.

     Section 8.3.  Severability.  If any provision of this Agreement is held to
be unenforceable or invalid by a court of competent jurisdiction, such
unenforceability or invalidity shall not render this Agreement unenforceable or
invalid as a whole.  Rather, such provision shall be stricken from the Agreement
and the remaining provisions shall be fully enforceable.

     Section 8.4.  Notices.  All notices under this Agreement shall be in
writing and shall be deemed to have been received (a) when personally delivered
or sent by telecopy, (b) one day following delivery by overnight delivery
courier, with all delivery charges pre-paid, or (c) on the third business day
following the date on which it was sent by United States mail, postage prepaid,
to a party at the address or fax number, as the case may be, of such party as
set forth on the signature page of this Agreement or such other address as a
party may specify in writing.

     Section 8.5.  Headings.  The headings used herein are for purposes of
convenience only and shall not be used in construing the provisions hereof.

     Section 8.6.  Counterparts.  This Agreement may be executed in two or more
counterparts, each of which shall be deemed an original, but all of which
together shall constitute one and the same instrument.

     Section 8.7.  Treatment of Payments.  Any Shortfall Payment made hereunder
shall be treated for all purposes as an adjustment to the purchase price paid by
the Unit Holder for the Subordinated Units to PAAI LLC.

                           [SIGNATURE PAGE FOLLOWS]

                                       5
<PAGE>

     IN WITNESS WHEREOF, the parties have executed this Agreement as of the date
first above written.

                              PLAINS RESOURCES INC.

                              By:  /s/ James C. Flores
                                 ----------------------------------
                              Name:  James C. Flores
                                    -------------------------------
                              Title: Chairman and CEO
                                    -------------------------------

                              Address:    500 Dallas Street, Suite 700
                                          Houston, Texas  77002
                              Facsimile:  (713) 654-1523

                              SABLE HOLDINGS, L.P.

                              By:  Sable Holdings, LLC
                                   its general partner

                              By: /s/ James C. Flores
                                 ----------------------------------
                              Name:  James C. Flores
                                    -------------------------------
                              Title: Sole Member
                                    -------------------------------

                              Address:    P.O. Box 1083
                                          Houston, TX  77251
                              Facsimile:  (713) 654-1523

                                       6
<PAGE>

                    SCHEDULE TO VALUE ASSURANCE AGREEMENT,
                    --------------------------------------
                    DATED AS OF JUNE 8, 2001, BY AND AMONG
                    --------------------------------------
                PLAINS RESOURCES INC. AND SABLE HOLDINGS, L.P.*
                -----------------------------------------------

Value Assurance Agreement, dated as of June 8, 2001, by and among Plains
Resources Inc. and KAFU Holdings, LP.*

Value Assurance Agreement, dated as of June 8, 2001, by and among Plains
Resources Inc. and E-Holdings III, L.P.*

Value Assurance Agreement, dated as of June 8, 2001, by and among Plains
Resources Inc. and Strome Hedgecap Fund, L.P.*

Value Assurance Agreement, dated as of June 8, 2001, by and among Plains
Resources Inc. and Mark E. Strome.*

Value Assurance Agreement, dated as of June 8, 2001, by and among Plains
Resources Inc. and John T. Raymond.*

*These agreements are substantially identical in all material respects except as
to the parties thereto.

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00028-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00028-of-00352.parquet"}]]