He declared his gun at the border and got permission to take it in and hundreds of Americans have done so for decades to hunt in Mexico.
I have seen no reports that state that Mexican authorities gave him permission to transport his gun into Mexico.
Do you have a source?