If your question is asked because of a specific person and case -- I would advise you to advise the person to ask a good attorney.
No specific person or case or what-have-yous, just an article I ran upon this a.m.
I would think should I ever run into this situation a good attorney would be mandatory, but do my best to avoid breakin' any laws or runnin afoul of felonious behavior.
A free people ought not only to be armed and disciplined, but they should have sufficient arms and ammunition to maintain a status of independence from any who might attempt to abuse them, which would include their own government." - George Washington, January 8, 1790, First State of the Union Address