Ticketing is a weird thing to do with driverless cars. If the violations are intentional and easily fixable, then just pass laws/regulations requiring AV's to follow rules or else cease operations entirely. If the violations are unintentional but happen only rarely in weird edge-case situations, then just set low frequency thresholds for them to be allowed, the same way we allow tiny amounts of rodent hairs in peanut…
Ticketing AVs for individual violations like human drivers is the only fair way. How would your proposal work for personal driverless cars, with/without custom modifications? ie. if my personal car commits violation on its way to pick me up
If you purchase an AV car then similarly it's up to the state to regulate the manufacturer. How could you possibly be personally responsible for the fact that it ran a red light?
And nobody should ever be allowed to personally modify an AV's software. Such a vehicle should never be allowed on the road.