Each house of Congress has Constitutional authority to determine their own membership. They can throw members out and refuse to seat potential members for cause. The last time this happened in the Senate, I believe (and this is from the cobwebs of my memory of US history), was back around the time of post Civil War reconstruction.
If the Republicans win a sufficient number of seats in the Senate to form a clearcut majority, they could conceivably refuse to seat Lautenberg, if Lautenberg wins. They could instead seat the legal candidate who received the highest number of legal votes. There is no judicial review of this process.
Of course, such a move would require the new Majority Leader to actually have some vertebrae.