Which is when the can would otherwise be too loud for road use.
Only a real jobs worth would do you for it.
Vtwins like Harley's sound loud at low revs but don't get much louder.
Inline fours , especially sports bikes, make all their power therefore their noise at the high end of the rev range.
I always ride loud and only been done once but I was stopped for something else in the first place.