Three companies that sold lead-based paint and were sued by the state in a landmark case cannot recover money they spent defending themselves in the lawsuit, a Rhode Island judge ruled Tuesday.

Rhode Island in February 2006 won a jury verdict that could have forced the three companies, including the Cleveland-based Sherwin-Williams Co., to spend billions of dollars removing lead paint from homes and buildings in the state.