Or in the sense that when I arrested someone for assault or worse it wasn't to affirm the rights of the victim, it was to get the bad actor off the street so the public at large wasn't at risk.
That's just the arrest, I believe I also mentioned prosecuting, convicting, incarcerating or punishing.
And all those sure are to affirm the rights of the inflicted. Murder is wrong because a person has a right to life. Robbery is wrong because a person has a right to property. Kidnapping is wrong because a person has a right to liberty.
Consider, a guy goes out to the park, gets on a soapbox and starts running his mouth commenting on the social issues of the day. Some people ignore him, some jeer, some laugh, some get really angry and attack him, knock him down and kick him. By the time the police arrive they only catch three of the mob. Now they're charged with assault and appear before a judge. Do they cop to it or do they plead Not Guilty? Hell yeah, they plead NG, the other guy started it,they were provoked. So it goes to trial.
Their defense is his speech made them do it so his speech is entered into record and the judge and the DA remind the jury that no matter how much we might disagree with what the man said, no matter how repugnant or vile, it wasn't illegal, he wasn't threatening anyone, he wasn't inciting anyone to break the law. What is illegal, is assaulting him for exercising his rights. The defendants don't have the right to use violence to shut him or anyone else up.
That's how rights get affirmed by the justice system.