I think you would treat this situation just like you were in a gym with multiple courts. Players stop because of a whistle from another court, then stop play and resume play where the action was stopped. Of course I agree -- no T. So I would also wave off the basket and give it to the kids on the side line. It seems that due to the "inadvertant" shistle

that there was a definate disadvantage to the defense.