You can tell that CBSRMT writers are hardly legal scholars. Double jeopardy is forbidden by the U.S. Constitution, not by any state laws. When the defense lawyer says "That's the law in this state." when referring to his client not being tried again early in this episode, you could just hear attorneys everywhere cringing. It's little goofs like these that make you realize that they cranked these scripts out so fast that they didn't have time for common editing let alone rewrites.