The U.S. Court of Federal Claims ruled that the U.S. Department of Energy violated a commitment to remove used radioactive fuel from a civilian nuclear-power plant, setting a precedent that could create huge federal financial liability.

The case has been closely watched by the U.S. nuclear industry and its opponents, since it brings to a head financial and safety issues regarding 30,000 tons of spent nuclear fuel stored at hundreds of...