You do understand the Republicans control both Houses of Congress....right?
They write a Bill that grants an exception for Mattis on a one time basis...get a simple majority vote and it goes to the President's Desk to be signed.
Reckon President Trump will sign the Bill?