Hmmm, not so sure about that—still could have been in lieu of some conditions like Trump attendees:
Trump announced earlier this week he had greenlit military transport for McCain, saying, "At the request of the McCain family, I have also authorized military transportation of Senator McCain’s remains from Arizona to Washington, D.C., military pallbearers and band support, and a horse and caisson transport during the service at the United States Naval Academy."