What decides the answer is the list of wheel and tire faults that make it prohibited to use the vehicle. One item on it names both cases from the question: cracks in the wheel rim or disc, and visible deformation of the shape or size of the mounting holes. A cracked disc can break apart while driving, and a wheel can't be securely fastened through deformed holes. Since both are prohibited, the right answer is “In both cases.”