I recall that Lannes was offered command of the army going into Portugal and flatly refused because he said Dom Joao was still his friend from the days of his rather unorthodox ambassadorship So Junot was chosen instead. He had no hesitancy in accepting.
I'm not a fan of Junot who, on his best day, was strictly third-string.