It shall be lawful for the Secretary of the Interior to grant permits under the provisions of section 607 of this title, to citizens of Idaho and Wyoming to cut timber in the State of Wyoming west of the Continental Divide on the Snake River and its tributaries to the boundary line of Idaho, for agricultural, mining, or other domestic purposes, and to remove the timber so cut to the State of Idaho.