Well, the down payment was only $3K, even max 5% was only about $150. May be they have already added $150 to the price on the ad. since the dealer let you to pay up to $3K only? You still needed to finance for the rest right!
Also, the dealer took the $3K, c/c dep. to make sure you would buy the car in that night. They spent a lot of time to negotiate with you, so they did not want you to walk away and never went back.
That’s good that it seemed like both parties were happy!