Right, but just because your values might be following the law doesn't mean that a specific law aligns with your values. Your values might simply compel you to follow the law, whether not the specific law aligns with your values.
Here's an example. You're at a long red light at 3:00 am, and there are no other cars there. Your values of obeying the law compel to wait until the light turns green, despite the fact that outside of the law, you may have personal values that would have otherwise allowed you to run the red light.
Now if you happen to be in a parking lot and get upset after watching someone else in the same situation run the red light, you've allowed the law to dictate your values. Why do you care if someone else did it? Because it breaks the law? Well, that's between that driver and whatever police officer catches them. If that driver doesn't get caught, then what's it to anyone else?