6-3-4
The direction of the possession arrow is reversed immediately after an alternating-possession throw-in ends. An alternating-possession throw-in ends when the throw-in ends or when the throw-in team violates.
Doesn't saything about reversing it because of a foul, does it?