It's just like if you do something bad at school to another kid, and then only apologize after your teacher makes you. We all know it's a bullshit apology but apparently it's still valid.
It's not bullshit if you genuinely failed to recognize your own poor behavior and are grateful for others calling you out on it. Unless you constantly reflect on your own behavior in your spare time, this is often the only way apologies end up happening anyway: someone says something or does something to make it clear what you did was not appreciated.
A bullshit apology would have been full of prevarication and "I'm sorry if you were offended." Timing aside, this was a full-on "Mea culpa. Mea maxima culpa."