I had the same situation with my A/C condenser on my 2016 Civic. They replaced it as a goodwill gesture, the dealer took the financial hit, blah blah blah.
I had to explain to them it was a recall and that the new part was covered by a 10 year warranty by Honda...
Dealers sometimes....