No, it turned law enforcement into criminals. When that happens, criminals who have their rights violated will often escape justice.
Remember that "criminal" is a designation based on a definition... a definition that is entirely under the control of the government.
In the western world, we play the ace as the high card by claiming that some things are "Natural Rights" and are therefore bestowed by "God" or "The Universe" or "Nature", and are or should be out of the reach of the government, which does help curtail some of the worst excesses. But it's not a panacea.
So in some ways, as in this instance, law enforcement cannot be criminals, because their behaviour is sanctioned by the very bodies that define "criminality". The government regularly does things that only "criminals" do (capital punishment is premeditated murder when anyone but the state does it, for instance), but it's not "criminal" behaviour when the state does it, because the state declares that it isn't, which is, at least theoretically, the state's right.
Was this ethical, or moral, or correct? That's an entirely different question. But this did not turn "law enforcement into criminals". They were acting inside the law as it applies to them.
(I'm not judging what they did one way or the other. Only pointing out the fine line of the "criminal" nature of the entire business.)