Two families of first integrals of van Diejen's rational BC(n) system are considered.
Equivalence of these two complete sets of Poisson commuting Hamiltonians is proved.
Van Diejen's Hamiltonians depend linearly on those generated by Pusztai's Lax matrix.
The explicit formula of this invertible linear relation is found.