A1 receives a pass in his backcourt. For some reason A1 gets confused and throws a set shot toward the wrong basket, never lifting his pivot foot off the floor. The ball clangs and bounces around the basket and backboard, and finally falls fall off the rim and bounces on the floor. A1, with one hand, taps the ball the the ground and keeps on dribbling, now in the right direction. Legal? Right?