Acts 23:3

23:3 you whitewashed wall. Tombs were often whitewashed to make them more visible (Matt. 23:27, 28). Paul paid a fitting tribute to a corrupt official.

contrary to the law. According to Jewish law, Paul had to be tried and found guilty before being punished.