Maryland does not provide special admission rules for government attorneys licensed in other jurisdictions.
However, Maryland provides a Maryland Multijurisdictional Practice Rule (MJP) within its rules of professional conduct. Comment 16 to that rule provides for an interpretation that exempts government attorneys from the unauthorized practice of law.
Please also see the Maryland Pro Hac Vice page to view the requirements for admission to a particular proceeding.