Jeep 4xE Grand Cherokee (possible dealer flags)

We went in to look at offers for the 2024 Jeep Grand Cherokee 4xE. The Jeep website claims to offer some good deals that got us to go in. What the deal said wasn’t what we expected. I have added the online offers to the photos (1st). After stumping the salesmen with saying that we were looking at 0% APR with incentives included he pulled in the Sales manager.
The Sales manager told us that the rebates are not applied at the dealership and we would be on our own to navigate getting those rebates after the sale but if we leased the car for 4 months the dealership could apply the deal and then we buy out “refinance” after the 4 months. This path didn’t get the 0% APR but it did drop the purchase price down about $18,000 with a 15% APR (Lease offer below). The refinance as he kept calling it was then for the upper 5% range but we would use our credit union as they had a better rate.
We asked to get some paper comparisons and I posted them below in order of 1st buy offer, the Lease offer, and then the refinance after 4 months to buy. The sales manager noted that the 4 months of payments on the lease got us the loophole that got us past government restrictions.
Red Flags?? Is this a common thing or even legal? We are in Denver CO and the dealership is a chain called Larry H Miller.