It's not necessarily automatically. You could also have military, military, and a civilian jurisdiction, if the offence occurs downtown involving two military people. So you can see how complicated it can become. There are a number of factors that need to be taken into account.
Of course, the prime concern here is to ensure that justice is served, and that justice can be served either in the military justice system or the civilian justice system. There's a dialogue that must occur within the prosecutorial service to determine which route it is going to go.