It’s definitely an extreme.
The law is not always ethical, if they chose unethical laws over ethical illegality, it is definitely a vice.
In general though I think it’s a virtue in terms of making them trustworthy, or atleast predictably consistent in their choices.
As far as I’m concerned though
FUCK THE LAW 🖕