A state district judge agreed in May that while Mitchell Slough was once part of the nearby Bitterroot River , it had been transformed by the hand of man , by changes including numerous head gates that control flows , and so was exempt from the Montana stream access law .