The answer comes from the list of wheel and tire defects that make it illegal to operate a vehicle. One item on that list covers both cases in this question: cracks in the wheel rim or disc, and visible distortions in the shape or size of the mounting holes. A cracked disc can break apart while you drive, and a wheel with damaged holes cannot be fastened securely. Since both are prohibited, the right answer is “In both cases.”