ER 3.1. Meritorious Claims and Contentions
A lawyer shall not bring or defend a proceeding, or assert or controvert an issue therein, unless there is a good faith basis in law and fact for doing so that is not frivolous, which may include a good faith and nonfrivolous argument for an extension, modification or reversal of existing law. A lawyer for the defendant in a criminal proceeding, or the respondent in a proceeding that could result in incarceration, may nevertheless so defend the proceeding as to require that every element of the case be established.
 The advocate has a duty to use legal procedure for the fullest benefit of the client's cause, but also a duty not to abuse legal procedure. The law, both procedural and substantive, establishes the limits within which an advocate may proceed. However, the law is not always clear and is never static. Accordingly, in determining the proper scope of advocacy, account must be taken of the law's ambiguities and potential for change.
 The filing of an action or defense or similar action taken for a client is not frivolous merely because the facts have not first been fully substantiated or because the lawyer expects to develop vital evidence only by discovery. What is required of lawyers, however, is that they inform themselves about the facts of their clients' cases and the applicable law and determine that they can make good faith and nonfrivolous arguments in support of their clients' positions. Such action is not frivolous even though the lawyer believes that the client's position ultimately will not prevail. The action is not in good faith, however, if the client desires to have the action taken primarily for the purpose of harassing or maliciously injuring a person, and is frivolous if the lawyer is unable either to make a nonfrivolous argument on the merits of the action taken or a good faith and nonfrivolous argument for an extension, modification or reversal of existing law.
 Although this Rule does not preclude a lawyer for a defendant in a criminal matter from defending the proceeding so as to require that every element of the case be established, the defense attorney must not file frivolous motions.
 The lawyer's obligations under this Rule are subordinate to federal or state constitutional law that entitles a defendant in a criminal matter to the assistance of counsel in presenting an appeal that otherwise would be prohibited by this Rule.