Earlier quoted context omitted.
The minimum to cause change is judges expending more effort on imprisoning law enforcement agents for perjury.
The judge can request that the lawyers involved lose their admission to practice in federal court for serious ethical violations like the ones here. However, this very rarely happens except in the most egregious cases where the lawyer is usually also disbarred for their conduct (i.e., Guiliani) so it's not a meaningful disciplinary measure.
Why do these judges allow people to show up to court and make exceptionally stupid arguments?