The law is standardized for everyone, its enforcement that is the issue. There are clear differences in enforcement for different races and different wealth levels.
My example occurred many moons ago before pot was decriminalized any where. I am old :)