Yes, laws can be used to perpetuate injustice. News reports can be misleading, even untruthful. And discourse is not always enlightening.
That's why, when analyzing statements, articles, laws, reports -- whatever the text may be -- it helps to read between the lines. It helps to consider the context. And it's useful to realize the intent of the writers/speakers and not see them as infallible, no matter their claims of authority.