If that's the purpose, a better version would start out quiet and get louder over time to give people a chance to remove the earbuds.
Something similar could easily be done.
I wonder if the "limit max volume" setting elsewhere does anything at all. I suppose it's hard to test.