Nothing in sections
946 to
949 of this title shall authorize such canal or ditch company to occupy such right of way except for the purpose of said canal or ditch, and then only so far as may be necessary for the construction, maintenance, and care of said canal or ditch.