New York court rejects two Republican lawsuits.