Protesting lawyer wins fight over arrest