But the police don't arrest people for breaking ethical principles, they arrest people for breaking laws.
So also, in context, not entirely relevant.
...Unless the police officer has ethical principles, in which case they will refuse to obey unfair laws. I remember watching an interview with a Danish cop that refused to arrest someone for smoking marijuana inside their own house. I think it's fair to say the government police system encourages unethical people to become cops.
They absolutely do. For example, police in Seattle explicitly made marijuana enforcement the lowest possible priority years before Washington legalized it. It was a common sight to see policemen standing right next to people openly smoking pot on the street and completely ignoring them.
The police actually have a huge amount of leeway, and it can be a big problem. They often decide who to prosecute and who to ignore, and their decisions are often driven by race, revenue concerns, or other issues that have little to do with justice.
[1] http://www.seattlepi.com/local/article/Two-years-later-littl...
If you disagree with the morality of a law, fine - but your assertion that enforcing drug laws is as immoral as enforcing slavery laws is debatable
If you want a legal precedent, the Nuremberg trials somewhat settled that question.
Just because something is illegal doesn't mean it's wrong.