I think that qualification is actually important: it was the law that was unjust, not just society. A government apology should acknowledge that it was the government that caused the problem there, not some random vigilantes. The full problem was not just that he was treated horribly, but that his treatment was not only legal but also actively enforced by the law.