Police unfortunately don't get to decide what laws to enforce. If the government decides to ban selling loose cigarettes, then police have a duty to the people to defend the laws that our democracy produces. Police are not elected legislators.
Every law ultimately rests on the police arresting you for not complying, at some point. Otherwise, the law is meaningless.
It turns out that people don't like having their freedom taken away and often fight back against the police. It's a very dangerous job.
Well it isn't as black and white as you're painting it. It is correct that sometimes law enforcement are obliged to enforce laws they as a group or as individuals do not agree with. On the other hand law enforcement are not obliged to enforce all laws all the time at any cost.
The legal principle of proportionality states that law enforcement always have to consider whether their actions are reasonable in comparison to the violation of laws.
There is also a general concept related to proportionality that basically states that law enforcement actions must be strictly necessary or required in the given situation. Especially when the means of enforcement includes physical violence.
In practice police can "turn a blind eye" - there are so many silly laws that if the police went around enforcing them all without interpretation they'd never be able to get anything done (kind of like a depth-first traversal). Generally speaking police have the freedom to pass over many misdemeanours unless they have been instructed not to.
Every law ultimately rests on the police arresting you for not complying, at some point. Otherwise, the law is meaningless.
It turns out that people don't like having their freedom taken away and often fight back against the police. It's a very dangerous job.