Dear Bingley: I too thought it was attributed to Madame Pompadour, who had more brains than Louis XVI. I just happened to find it attributed to Louie Blooie in what seemed a scholarly article. You can find it attributed to bothe sources.
Incidentally, "brains" is a brainless phrase, isn't it?