It's been years since I watched the anime/read the manga, but IIRC, Dubarry wasn't presented as a villain -- at most an antagonist in that arc. The way you described it didn't contradict my impression/recollection of it.
Anyway, I don't expect historical accuracy from anime, and I was surprised it was that historically-based!
Re: Maria Theresia Trivia
Anyway, I don't expect historical accuracy from anime, and I was surprised it was that historically-based!