So if POTUS follows the same format as Lincoln, only those participating in, aiding, and/or abetting the insurgency would be subject to martial law.
Everyone else would stay under the civil judicial authority.
Which is great, as long as the corrupt judges are removed as part of the first group.