Using firearms against the state never works. However, the oppression isn't in the enforcement of laws it is in how those laws are being enforced, selectively, against brown and black people. Also, something being a law doesn't make it right or just. For examples of this just look at slavery, women's suffrage, civil rights, etc at a certain point in time all of those things were against the law but people agonized, organized and resisted enough to change the law. By your logic those groups weren't oppressed since the law allowed for their oppression.