Breaking the law is not “setting a precedent”. It is and always shall be, simply, breaking the law.
That the act is not prosecuted, and punishment not imposed, does not make the crime any the less.
But it does seriously erode trust in the rule of law.
Any illegal act by a “president” should not be considered a precedent.