It was a jailable offense to even bind a Roman citizen without following proper legal procedures and a capital offense to scourge him without doing so. Why did Paul wait until he was bound to declare his Roman citizenship? Because in so doing, he had Claudius Lysias right where he wanted him.
Sometimes people ask, "Should a Christian stand up for his civil rights?" When dealing with believers, we are told very clearly that we are not to take them to trial (Mat 18:15). But Paul's example tells me that when dealing with the world, sometimes it's appropriate and very necessary to do so. Surely in the litigation-mad world in which we live, this has been taken to an extreme. But I believe there are times when it is valid.