Nevadaref,
While reading over this original question again, if A3 violates you could not count a basket on the basket that A is shooting at. You would of course wipe off the basket (duh!!!!

) no matter what. I was for some reason thinking of A3 as if they were on Team B. If that was the case, I think you would count the basket. But you cannot award points to A if A is the one that caused a BI.
Peace