Acts 24
"But this I admit to you, that according to the Way which they call a sect I do serve the God of our fathers ..." (v14). Paul had done nothing wrong (v12-13) according to Jewish or Roman law. However, he was quick to admit the one fact that was true - Paul was a Jesus-follower. And he believed (as many Pharisees did) "that there shall certainly be a resurrection of both the righteous and the wicked" (v15).
This truth might lead to more trouble, but sharing the gospel (as a free man or prisoner) was the whole purpose of Paul's life.