"It is absolutely incompatible with the rule of law that workers can selectively fail to perform government services for someone they don't like, and not be disciplined"
Maybe your concept of the law is not universal? It seems to be accepted behavior by swedish law, so it is within the rule of law.
Corruption, Mafia, cartel, etc. control of legal processes seem to be accepted behavior (or were in the past) in some countries. Would you say that that's within the rule of law?
For centuries, Russian bureaucrats were expected – completely officially and under the law – to earn their living by extracting money from members of the local population directly, instead of through taxation going into a state budget. This was known as kormlenie. To populations elsewhere, such a system might meet their local definition of corruption.