Jurassic,
That'd be the opinion of the official on the game I guess. If he considered the "throw" a pass, then they would still have team control and it would be a violation. Obviously, if he considered the "throw" a try, then no team control and there wouldn't be a violation --- the fans would love this one!
Now, what if the ball hit the backboard below the ring and went all the way into the backcourt (somehow) when this "throw" occured? What do you have now?