The person with poor credit will make up for it with a higher interest rate, but should not get a better bottom line price than someone that is responsible.One simple explanation is the poor credit customer is a SUPERIOR negotiator. The dealer does't care who got a better deal but they made PROFITS on both deals.
When you include financing in a transaction, one needs to compare the total including all the accrued interest and not just the sale prices.