Where the activity of commercial agent is exercised in performance of a written contract entered into between the parties on a principal basis for another purpose, the parties may agree in writing that the provisions of this chapter shall not apply to the part corresponding to the commercial agency activity.
Such waiver shall be null and void if the performance of the contract shows that the commercial agency activity is in fact exercised on a principal or determining basis.