Rebates before or after OTD cost

So I just walked out of a dealership on a deal and I want to see if I made the right decision. I negotiated for a new 2025 Acura MDX with an OTD cost equal to the marketed MSRP. I asked for a worksheet and they said they wouldn’t give one but the sales person did send me a text saying the total out the door cost which was fine. I came in and test drove the car and discussed financing but they couldn’t match my credit unions interest rate. So I decided to go with my credit union. When I came back the next day with the check I asked about a rebate I saw on the website for $1,000 to current BMW owners. The salesperson said that rebate was already calculated in the out the door cost that was agreed. I said additional rebates are supposed to reduce my down payment so it shouldn’t have been included in the out the door cost. She got her manager involved and he printed out a worksheet showing he is losing 4k on this sale and not making any profit so he is not willing to give the 1k to reduce my down payment. I told them I was sorry and I left. Was this a good deal? Was I wrong in thinking the rebates would come after the OTD cost?