Good PSA!
The last used car we bought we paid to have it inspected by and indy repair shop which included pulling codes and putting on a lift. It was really clean and I trusted the dealer but you can never be too sure given the cost of things these days.
My folks have a RAV4 that needs a new converter and they were quoted a similar estimate just this week. A lot of labor to get at it apparently.