Nope. The prosecutor will decide if it looks like there is enough evidence to convict the defendant. If yes, it does go to court, and the jury decides whether or not there is reasonable doubt.
I think you said "yep". You indicate that the jury decides whether there is reasonable doubt that the shooting was
not justified--as opposed to deciding that it
was justified as implied in the criminal code.
Some criminal codes are extremely clear--Texas and Florida for example (lay opinion). Some do not tell you enough to know what the the law actually means. For example, Oregon has a castle doctrine. It was established by the courts and is not in the statutes per se.
Some are flawed--in Kansas, the law appears to say on the face of it that if you pull a gun and do not shoot you have committed a crime (!?) and the Kansas Supreme Court just upheld a conviction on the basis that the legislature's words were clear enough to not require interpretation. As I recall the case the guy may not have been justified, but the Supreme Court ruling bodes very poorly for those who live or travel there. I'll bet they amend the law.
The specific wording in the Oklahoma law seems to contradict the rest of the legal constructs there (and every where else in the US., France and other places) in that the court does
not decide whether the defendant's act
was justified, it decides that whether there is treasonable doubt that it was
not.
Such are the pitfalls of hurried legislation. Where I live, people had been prosecuted unjustly for using deadly force against home invaders and had been successfully sued even when justified under the criminal code. So the legislature amended the law on defense of justification to incorporate a "castle doctrine."
What does it say? It says that I am justified in using deadly force against
anyone who
enters my house, (tent, trailer, etc.) or car "
uninvited" (the definition of "unlawfully")
or who
refuses to leave. Also says that justifiability serves as a defense against civil suits.
The various anti groups characterize that as legalizing murder (they say the same thing about Florida, but they can't be as convincing there).
I have been advised by one who was instrumental in getting the law enacted here to not rely on the wording--to shoot
only if it's clear I have what reasonable people would consider to be a violent criminal actor in the house
and if he does not attempt to leave. By the way, that's my plan.
I have also been cautioned by an attorney that the prohibition on civil awards, though strong and certainly welcome, may not be as airtight as the wording may imply. Fundamental rights may come into play. Again, the odds are very low but the stakes are not.
Most castle laws and almost all of the "stand your ground" laws are rather new, and can serve as fertile ground for expensive and time consuming appeals. That's particularly true when two state laws with different purposes contradict each other. (Might that be true in Oklahoma? I do not know.)
Don't get me wrong--these laws have been shown to be necessary. It's just that some (limited ) aspects have not been tested. Also repeating myself, lay interpretation of one law without taking into account other laws, court rulings, and sometimes even the state constitution is never a good idea.