Accidental fallacy is a fallacy of general rule over exception, which negates the existence or legitimacy of exceptions based on the existence of a general rule.
According to the above definition, the statement 'Speeding is illegal, so ambulances should not exceed the speed limit' is an example of accident fallacy.