The answer depends on the list of faults you may not drive with, and both cases are on it. Exterior lights must work in the prescribed mode: if they don't come on or don't work as intended, the vehicle is harder to see and others can't understand its signals, so you may not drive. On a motorcycle or moped, the tread pattern must be at least 0.8 mm deep; at 0.6 mm the tire is worn beyond the limit, and riding on it is banned too