Empress Catherine II, as a historian