The law is what is best for the community.
What is best for the community is not, necessarily, best for any group or individual in the community.
When a million refugees showed up to Europe, most Europeans, held that the presence of refugees was not best for the community. The ruling scum of Europe rejected these claims of the people, and forced refugees, and the subsequent rape, violence, criminality, and disruptions down the public's throat.
Clearly, the ruling scum was acting against the law.