Judge sides with 16 activists in Montana climate case