¶ 1 In 2012, White Mountain Health Center, Inc. (“White Mountain”) sought county zoning approval to establish a medical marijuana dispensary (“MMD”) pursuant to the Arizona Medical Marijuana Act (“AMMA”), Arizona Revised Statutes (“AR.S.”) sections 36-2801 to -2819 (2014 and Supp. 2015).
¶ 2 For the reasons that follow, we affirm the superior court’s rulings except the sanctions imposed against the County. First, the CSA does not preempt the AMMA to the extent the AMMA requires the County to pass reasonable zoning regulations for MMDs and process papers concerning zoning compliance or requires the State to issue documents to allow MMDs to operate. Second, the court did not exceed its authority in striking the Second Text Amendment to the extent the amendment applied to MMDs. Finally, we reverse the award of $5000 in sanctions against the County because the County did not unreasonably expand or delay the proceedings or defend a claim without substantial justification.
FACTUAL AND PROCEDURAL HISTORY
I. Background
A. AMMA and Regulations
¶ 3 In 2010, Arizona voters passed Proposition 203, now codified as the AMMA. Ariz. Sec’y of State, State of Arizona Official Canvass at 15 (2010); State v. Okun,
¶ 4 The AMMA also empowers ADHS to establish the system to register MMDs throughout the state and track compliance with statutory requirements. AR.S. § 36-2803. To this end, ADHS may approve at least one MMD per county, but no more than one MMD for every ten pharmacies in an area. AR.S. § 36-2804(C). The AMMA also authorizes cities, towns, and counties to “enact reasonable zoning regulations that limit the use of land for [MMDs] to specified areas in the manner provided in title 9, chapter 4, article 6.1, and title 11, chapter 6, article 2.” AR.S. § 36-2806.01 (internal citations omitted).
¶ 5 Both the AMMA and ADHS regulations require an entity seeking to become an MMD to first register with ADHS by filing an application for a “registration certificate.” AR.S. § 36-2804; A.A.C. R9-17-304. The application must include, among other things, “a sworn statement certifying” that the MMD is in compliance with zoning restrictions “[i]f the city, town or county .,. has enacted zoning restrictions.” A.R.S. § 36-2804(B)(1)(d). ADHS regulations also require that an application must include “[d]ocumen-tation
¶ 6 Once the application for a registration certificate is filed, ADHS must review and allocate the certificates pursuant to AA.C. R9-17-303. If ADHS allocates a registration certificate to an applicant and the applicant is compliant with the regulations, ADHS shall issue the applicant a certificate. A.A.C. R9-17-107(F)(1), (2). Only upon ADHS’ allocation and issuance of a registration certificate may a proposed MMD apply to operate an MMD. See A.A.C. R9-17-305(A).
B. CHAA system
¶ 7 To allocate MMD certificates, ADHS utilizes the preexisting Community Health Analysis Areas (“CHAA”) system. AA.C. R9-17-101(7). Arizona contains 126 CHAAs, and some CHAAs are in overlapping local jurisdictions such as cities and unincorporated portions of counties. The parties stipulated that nothing explicitly requires an MMD in every CHAA.
C. MCZO
¶ 8 The MCZO is a permissive zoning ordinance, such that if a particular land use is not explicitly permitted, it is prohibited. In response to the AMMA, the County amended the MCZO in 2010 to create a special use category that permitted MMDs in certain commercially-zoned districts (the “First Text Amendment”). The First Text Amendment also contained a “poison pill” provision instructing: “[t]his provision shall not be construed as permitting any use or act which is otherwise prohibited by law.”
¶ 9 The Maricopa County Attorney publicly opposed the AMMA, opined that county employees who processed applications for MMDs could be subject to federal prosecution, and advised the County to stop accepting applications for MMDs in unincorporated Maricopa County. The County amended the MCZO again in 2011 (the “Second Text Amendment”). The Second Text Amendment only permitted MMDs in Industrial 3 (“IND-3”) zones in unincorporated Maricopa County, precluded special use permits for MMDs, and contained a slightly different poison pill provision. The new provision specified that, as to IND-3 zones, a “building or premise shall be used only for industrial use not in conflict with any federal law, state law or Maricopa County Ordinance.” Although IND-3 zoning existed in unincorporated Maricopa County, CHAA 49
II. White Mountain’s Complaint
¶ 10 In May 2012, White Mountain applied for a registration certificate for CHAA 49. In response, ADHS issued a “Notice of Deficiencies” because White Mountain had not submitted the necessary zoning documentation from the County confirming that either no local zoning restrictions existed or that White Mountain was in compliance with applicable restrictions. See A.A.C. R9-17-107(G)(4), R9-17-304(C)(6). White Mountain was the only applicant for a registration certificate in CHAA 49. As the State stipulated and the superior court found, ADHS would have issued the registration certificate to White Mountain but for the lack of necessary zoning documentation from the County.
¶ 11 White Mountain filed a complaint in superior court against the County, ADHS, and its Director in his official capacity,
[T]he County is not issuing zoning verification for [MMDs] due to the fact that doing so would potentially subject the County and its employees to prosecution under federal law.... the County will not be accepting any further applications for [MMDs] or cultivation sites, further processing any pending applications, or issuing any certificates, permits or other authorizations or justification for [MMDs] or cultivation sites until the threat of federal prosecution is conclusively removed.
¶ 12 White Mountain sought declaratory relief regarding its compliance and/or need to comply with the zoning verification requirement. In Count 1, White Mountain sought a declaration that: (1) there were no local or county zoning restrictions for MMDs in CHAA 49; (2) the County had not enacted “reasonable” restrictions; or (3) White Mountain had complied with all requirements for obtaining an MMD registration certificate. In its answer, the County “admit[ted] that Mari-copa County and its employees [would] not take any action that would be in violation of federal law.”
¶ 13 In Count 2, White Mountain sought injunctive relief to prevent ADHS from withdrawing its application for a registration certificate due to the lack of required documentation from the County. Finally, in Count 3, White Mountain sought mandamus relief to order: (1) the County to provide the necessary documentation stating that there were either no zoning restrictions or that White Mountain was in compliance; and (2) ADHS to issue a registration certificate to White Mountain.
III. The Preliminary Injunction
¶ 14 In response to White Mountain’s request for injunctive relief, the superior court entered a preliminary injunction enjoining ADHS from withdrawing or denying White Mountain’s application based on White Mountain’s failure to provide the zoning verification. The State did not seek appellate relief from the injunction. See A.R.S. § 12-2101(A)(5)(b) (2016) (authorizing an appeal from the grant or denial of injunctive relief).
IV. Motions for Summary Judgment
A. Federal Preemption
¶ 15 White Mountain then moved for partial summary judgment seeking, among other things, a court order directing the County to issue the zoning documentation.
¶ 16 The State intervened, counterclaimed for declaratory relief, and moved for summary
¶ 17 The parties agreed the CSA neither expressly preempts state law nor occupies the whole field. The superior court determined neither obstacle preemption nor impossibility preemption applied, but the court limited relief to simply ordering the County to issue zoning documentation stating that either no relevant zoning requirements existed or White Mountain had complied with them. The court entered a final signed judgment pursuant to Arizona Rule of Civil Procedure 54(b), granting White Mountain’s motion for partial summary judgment and mandamus relief, denying Appellants’ cross-motions for summary judgment, and denying the State’s counterclaim for declaratory relief. Thereafter the County filed a document with the court that indicated the County’s compliance with the court’s mandamus order. However, on the form it provided to White Mountain to submit to ADHS, rather than checking either box on the ADHS form indicating White Mountain was in compliance with the local zoning regulations or that no such zoning existed, the County responded by indicating “N/A” for each option. The County and the State timely filed separate notices of appeal from the 54(b) judgment, thus beginning the Preemption Appeal.
B. Declaratory Relief and the Second and Third Text Amendments
¶ 18 While the Preemption Appeal was pending, and after the County’s execution of the ADHS zoning form indicating that neither the compliance nor absence of zoning restrictions applied, White Mountain and the County moved for summary judgment on the Second Text Amendment, White Mountain argued the Second Text Amendment violated the AMMA by effectively banning MMDs from CHAA 49, and generally because of the poison pill provision. The County argued the Second Text Amendment was a valid legislative act, the AMMA did not preempt local regulation with respect to land use for MMDs, and permitted uses in particular zoning districts must be consistent county-wide.
¶ 19 In granting White Mountain’s motion and denying the County’s motion, the superi- or court recognized its duty to give broad deference to the County when the County’s zoning powers were challenged, but it noted that a county could not use its zoning powers to violate state law. It observed that when state law and a zoning ordinance conflict and the two cannot be harmonized, state law controls. The court declared the Second Text Amendment unreasonable and void because it violated the AMMA both by (1) prohibiting MMDs under the poison pill provision and (2) limiting MMDs to IND-3 districts although no IND-3 district existed in CHAA 49, As the court summarized, a “County zoning ordinance that poses a categorical prohibition of Medical Marijuana violates” the AMMA, which grants local jurisdictions only the limited power to enact “reasonable zoning regulations that limit the land for [MMDs] to specified areas.... ”
¶ 20 The superior court then ordered supplemental briefing on the effect of striking the Second Text Amendment, White Mountain argued that by striking the Second Text Amendment, the First Text Amendment would be automatically reinstated or revived, or alternatively, that all MMD zoning restrictions would be eliminated from the MCZO. The County argued that because the MCZO is a permissive ordinance, that is, unless a use is permitted it is prohibited, and none of the zones other than IND-3 permits MMDs, MMDs are prohibited in those other zones. It also argued that the striking of the Second Text Amendment could not revive or automatically renew the First Text Amendment. According to the County, this resulted in the rest of the Second Text Amendment staying in place and thus, MMDs were prohibited because they were not listed as permitted uses and such a result would not violate the AMMA.
¶ 21 The superior court held that the doctrine of automatic revival would not revive the First Text Amendment, but it also held that after striking the Second Text Amendment, no zoning restrictions for MMDs in unincorporated Maricopa County existed beyond
¶22 In response to the superior court’s judgment that the Second Text Amendment was void, the County amended the MCZO again (the “Third Text Amendment”). The Third Text Amendment restricted MMDs to Commercial 2 and 3 (“C-2,” “C-3”) and IND-1, -2, and -3 zoning districts. The poison pill provision from the First Text Amendment, directing that the “provision shall not be construed as permitting any use ... otherwise prohibited or made punishable by law,” remained in the Third Text Amendment. Additionally, the County provided that in the event the superior court’s ruling on the Second Text Amendment was overturned, the Third Text Amendment would no longer be effective and the MCZO would revert back to the Second Text Amendment.
V. Attorneys’ Fees, Costs, and Sanctions
¶ 23 "White Mountain sought attorneys’ fees and costs from the County. The superior court awarded White Mountain $190,000 in fees, $3700.02 in costs, and $5000 in sanctions against the County pursuant to A.R.S. § 12-349. The court found that White Mountain was entitled to sanctions pursuant to A.R.S. § 12-349 because the County unreasonably expanded and delayed the proceedings and because the court’s earlier ruling on preemption, adverse to the County, rendered the County’s opposition to the requested relief “without substantial justification.”
¶ 24 The County timely appealed, starting the Attorneys’ Fees Appeal. We consolidated the three appeals, and we have jurisdiction to resolve the appeals from each of the final judgments pursuant to A.R.S. §§ 12-120.21 (2016) and -2101(A)(1) (2016).
DISCUSSION
I. Preemption Appeal
¶ 25 In the Preemption Appeal, Appellants contend the CSA preempts all provisions of the AMMA. However, the only issue raised in the superior court, and the only issue we will address, is whether the actions the AMMA required the State and the County to take in this case—for the County, approving zoning for specific areas for MMDs, processing zoning documents, and taking action pursuant to zoning laws to ensure MMDs meet other zoning requirements, and for the State, processing White Mountain’s application to operate an MMD—are impliedly preempted because such relief allegedly conflicts with the CSA. See County of San Diego v. San Diego NORML,
¶ 26 The State argues the court erred by requiring it to process Wdiite Mountain’s applications because such relief thwarts federal public policy and “Arizona courts are bound to deny injunctive aid to unlawful marijuana businesses.” The County argues the court erred by: (1) requiring it to issue zoning verification documents required by A.AC. R9-17-304(C)(6) because such relief is preempted by the CSA; and (2) not dismissing the complaint to the extent the complaint sought an order challenging the Maricopa County Attorney’s advice to the County, because he was “performing a discretionary role in providing legal advice to the County.... [and] mandamus relief does not lie to challenge his advice to his public client.” For the following reasons, we conclude the relief ordered consistent with the AMMA is not preempted by the CSA and the County’s preemption argument based on possible criminal prosecution for issuing the zoning
¶ 27 Two amicus briefs were filed in support of preemption, neither of which we address. The first, from amicus Judicial Watch, Inc., largely repeats Appellants’ arguments regarding preemption but adds that the AMMA is in direct conflict with the CSA and unidentified treaty obligations of the United States. The Arizona Supreme Court rejected the direct conflict argument in Reed-Kaliher v. Hoggatt,
¶ 28 The second amicus brief, from the Yavapai County Attorney, argues the AMMA is preempted by the federal scheme for medicine delivery governed by the federal Comprehensive Drug Abuse Prevention and Control Act of 1970, 21 U.S.C. § 801 et seq., which includes the CSA and the Food, Drug, and Cosmetic Act, 21 U.S.C. § 301 et seq. See Gonzales v. Raich,
A. Standard of Review and Burdens of Proof
¶ 29 Although we defer to the superi- or court’s factual findings and review grants of injunctive and mandamus relief for an abuse of discretion, the rest of our review is de novo. Flying Diamond Airpark, LLC v. Meienberg,
¶ 30 Appellants bear a heavy burden to show preemption. “Statutes are presumed constitutional and the burden of proof is on the opponent of the statute to show it infringes upon a constitutional guarantee or violates a constitutional principle.” State v. Wagstaff,
B. General Preemption Principles
¶31 State and federal governments have “elements of sovereignty the other is bound to respect,” Arizona v. United States,
¶32 Of course, “[fjrom the existence of two sovereigns follows the possibility that laws can be in conflict or at cross-purposes.” Arizona,
¶ 33 In general, federal preemption is conceptualized as either express or
¶ 34 As an initial matter, Appellants do not and cannot successfully argue that Congress expressly preempted all state drug law or occupied the entire field by enacting the CSA. As our supreme court noted in Reed-Kaliher, Congress “specified that the CSA does not expressly preempt state drug laws or exclusively govern the field.”
C. Conflict Preemption
1. Obstacle Preemption
i. Reed-Kaliher
¶35 We gain substantial guidance from our supreme court’s recent decision, Reed-Kaliher v. Hoggatt. Reed-Kaliher was an AMMA patient who sought amendment of a probation condition banning marijuana use or possession “for any reason.” Id. at 121, ¶ 4
The state-law immunity AMMA provides does not frustrate the CSA’s goal of conquering drug abuse or controlling drug traffic ... the people of Arizona chose to part ways with Congress only regarding the scope of acceptable medical use of marijuana. Possession and use of marijuana not in compliance with AMMA remain illegal under Arizona law.
Id. at 124-25, ¶23,
¶ 36 In light of Reed-Kaliher, we conclude Appellants have not met their burden to show the AMMA is preempted by the CSA under conflict analyses.
¶37 We disagree with Appellants’ argument that Reed-Kaliher is limited to its facts for several reasons. First, in applying Reed-Kaliher, we must look to what was “central to the [supreme court’s] analysis” when interpreting precedent. State v. Gear,
¶38 Second, although Reed-Kaliher addresses the immunity clause of the AMMA, the court found the preemption analysis in Ter Beek persuasive and Ter Beek ⅛ facts are similar to the facts at hand. See id. at 122-25, ¶¶ 7-9, 22-23,
¶ 39 We also find support for our conclusion from County of San Diego v. San Diego NORML,
ii. Authorization Versus Decriminalization
¶ 40 Appellants argue Reed-Kaliher is distinguishable because the AMMA requires the State and County to “affirmatively authorize” violations of the CSA rather than merely decriminalizing them. Although the State maintains that “[ijdentifying a person who is not subject to arrest or prosecution under state law is certainly within the State’s power to decriminalize activities for purposes of its own laws,” it cites four provisions of the AMMA to support its argument that the AMMA “expressly authorizes” activities that violate the criminal enforcement provisions in the CSA. Similarly, the County argues the AMMA goes “beyond mere decriminalization” to “affirmatively authorize” violations of the CSA.
¶ 42 We also fail to see a principled basis for the State’s distinction between Arizona’s identification system to determine whether a patient is exempt from criminal sanction (i.e., for possession) and its system to determine whether an MMD is exempt (i.e., for possession and distribution). The State does not explain why any arguable differences in registering MMDs and patients under Arizona law somehow amount to authorizing federal crimes in one instance but not the other. Appellants have not shown that the AMMA or portions thereof go “beyond decriminalization,” or that authorization/decriminalization is even a valid distinction for purposes of Arizona law. However, even assuming the validity of the distinction and its applicability here, Appellants have not shown how the AMMA creates “significant and unsolvable obstacles to the enforcement” of the CSA. See Ter Beek,
¶43 Additionally, the AMMA provisions Appellants cite are not implicated by the facts or context of this case. See A.R.S. §§ 36-2806(E)-(F), -2806.02. Only one cited provision actually uses the word “authorize,” and that provision pertains to patient and caregiver identification cards. See AR.S. §§ 36-2804.04(A)(7) (“Registry identification cards for qualifying patients and designated caregivers shall contain ... [a] clear indication of whether the cardholder has been authorized by this chapter to cultivate ... for the qualifying patient’s medical use.”) (emphasis added), -2804.04(C)(7) (ADHS must inform a patient of MMD locations if the patient’s or designated caregiver’s identification card “does not state that the cardholder is authorized to cultivate marijuana....”).
¶44 We are unpersuaded by the State’s argument based on this “authorization” language. The language that is purportedly fatal to the AMMA’s enforcement appears in a section regarding patient and caregiver identification cards—an issue that the State itself maintains does not implicate the CSA because such provisions “merely serve to identify those individuals for whom the possession or use of marijuana has been authorized” under Arizona law, and are therefore “not ‘authorizations’ to violate federal law.”
¶ 45 Appellants’ argument relies on Emerald Steel Fabricators, Inc. v. Bureau of Labor and Industries,
¶46 We fail to see how Emerald Steel supports Appellants’ positions. The ultimate question is whether the AMMA creates an obstacle so that the CSA cannot otherwise be enforced, Reed-Kaliher,
¶47 We also decline to adopt Emerald Steel’s distinction between decriminalization and authorization of medical marijuana use. The authorization/decriminalization distinction itself seems to be primarily semantic and ultimately results in a circular analysis. See Emerald Steel,
¶ 48 Finally, the State argues A.R.S. § 36-2811(B)-(G) provides protection from arrest and prosecution for AMMA activities that exceed state authority. It asserts “[t]hese provisions do not limit the prohibition to state tribunals ... [and] the State cannot stop federal officers or courts from enforcing federal law.” We find this argument unpersuasive. Not only are these provisions not at issue in this case, but we read them to be limited to prosecution under state law, particularly since the AMMA does not otherwise purport to shield anyone or any act from federal prosecution. We have a duty to construe our statutes “to avoid conflict with the United States Constitution and federal statutes.”
2. Impossibility Analysis
¶ 49 In addition to Appellants’ other conflict preemption arguments, the County argues the CSA preempts the AMMA using an impossibility analysis. The County asserts it is impossible to comply with both the CSA and the AMMA, and that by issuing the necessary zoning documents pursuant to the AMMA, County officials might face criminal prosecution for aiding and abetting MMDs’ violations of the CSA. We find this argument unpersuasive for several reasons.
¶ 50 First, Reed-Kaliher rejected a similar argument as it applied to state court judges. The court held that by permitting an AMMA-compliant marijuana use for probationers, a court would “not be authorizing or sanctioning a violation of federal law, but rather would be recognizing that the court’s authority to impose probation conditions is limited by statute.”
nothing in federal law purports to require state judges to include a prohibition on the use of medical marijuana pursuant to AMMA as a condition of probation. Because AMMA prohibits such a condition and federal law does not require it, a state judge does not violate the oath of office by omitting such a condition,
Id. at 125, ¶ 24
¶ 51 Second, we cannot accept the County’s aiding and abetting argument, 18 U.S.C. § 2 (West 2016) provides that:
(a) Whoever commits an offense against the United States or aids, abets, counsels, commands, induces or procures its commission, is punishable as a principal.
(b) Whoever willfully causes an act to be done which if directly performed by him or another would be an offense against the United States, is punishable as a principal.
However, the CSA provides that subject to exceptions relating to search warrants,
no civil or criminal liability shall be imposed by virtue of this subchapter upon any duly authorized Federal officer lawfully engaged in the enforcement of this sub-chapter, or upon any duly authorized officer of any State ... who shall be lawfully engaged in the enforcement of any law or municipal ordinance relating to controlled substances.
21 U.S.C. § 885(d) (West 2016) (emphasis added). Our supreme court found that § 885(d) provides immunity from federal prosecution to sheriffs who follow court orders to return medical marijuana to lawful possessors. Okun,
¶ 52 Additionally, to prove aiding and abetting under federal law, “it is necessary that a defendant in some sort associate himself with the venture, that he participate in it as in something that he wishes to bring about, that he seek by his action to make it succeed.” Nye & Nissen v. United States,
¶ 53 Third, the County rationalizes its fear of prosecution by relying on past statements of federal prosecutors, who themselves are limited in deciding what cases to prosecute. See 28 U.S.C. § 542 (“Each assistant United States attorney is subject to removal by the President.”); United States v. Cox,
¶ 54 As White Mountain notes, this fear of prosecution has now become even less credible or immediate, if not moot, given acts by Congress since entry of the judgment here. On December 18, 2015, Congress passed the Consolidated Appropriations Act. Consolidated Appropriations Act, 2016, Pub. L. No. 114-113, 129 Stat. 2242 (2015). Pursuant to that act, the Department of Justice may not use any of its funding “with respect to ... Arizona ... to prevent [it] from implementing [its] own laws that authorize the use,
¶ 55 In sum, the County does not show how the relief ordered here makes it impossible to comply with the AMMA due to a risk of prosecution under federal law and specifically the CSA. The County’s broad contention that any act which is in any way related to fulfilling duties mandated by the AMMA is somehow criminal under federal law, does not persuade us that the AMMA is preempt ed. “Impossibility pre-emption is a demanding defense,” and the County has not carried its burden. Wyeth v. Levine,
¶ 56 We heed the Supreme Court’s warning that “[p]re-emption analysis should not be a freewheeling judicial inquiry into whether a state statute is in tension with federal objectives, but an inquiry into whether the ordinary meanings of state and federal law conflict.” Id. at 588,
D. Interference with County Attorney’s Advice to the County
¶ 57 The County maintains this case also involves a claim against the County Attorney for providing legal advice. According to the County, White Mountain’s complaint sought “an order in mandamus compelling Mr. Montgomery to change his advice to the County.”
¶ 68 We do not read the record in this case to support the County’s characterization of the claim. Regardless of whether we view the case from the perspective of the complaint or the superior court’s order, this is not a case about legal advice, a request to change legal advice, or a discretionary act. The County is the “local jurisdiction” for purposes of A.A.C. R9-17304(C)(6) and refused to comply with its duties to issue the zoning clearances. The County’s refusal to comply with the non-diseretionary ministerial act contemplated by A.A.C. R9-17-304(C)(6) is not immune from mandamus just because the County happened to receive advice from the County Attorney along the way. The County’s argument, taken to its logical extension, would result in precluding mandamus relief any time a county attorney rendered advice in a matter and allow a county to possibly disobey state or federal law simply because its attorney advised them on the law. This is an untenable result. The advice of a county attorney is just that: advice. It is not a dictate that supersedes the law.
¶ 59 The superior court did not dictate to the County Attorney how to advise his client. The County Attorney is free to advise his client as he sees fit. However, if a court determines that the County violated state law in acting, the County is bound by that judicial decision. Accordingly, the court did not abuse its discretion in fashioning the mandamus relief based on the County’s failure to comply with state law. See Sines v. Holden,
II. Zoning Appeal
¶ 60 As discussed supra at ¶¶18-19, in the Zoning Appeal, the superior court determined that the Second Text Amendment violated the AMMA because it limited MMDs to IND-3 zones, none of which existed in CHAA 49, and because it prohibited any land use in violation of federal law. The court also determined that the doctrine of automatic revival did not apply to revive the First Text Amendment. Thus, upon striking the Second Text Amendment, there were briefly no zoning restrictions for MMDs in unincorporated Maricopa County until the County adopted the Third Text Amendment. See supra ¶¶21-22.
¶ 61 The County argues the superior court erred because: (1) the record was undisputed that limiting MMDs to IND-3 zones was reasonable; (2) the AMMA did not limit County authority to adopt ordinances restricting where MMDs could exist; and (3) the Court’s order was impermissibly broad because it was not limited to CHAA 49, and it misunderstood that because the MCZO was permissive, no zoning permitted MMDs after the Second Text Amendment was struck.
A. Standard of Review
¶ 62 We review de novo whether summary judgment was warranted. Mathis,
B. Striking the Second Text Amendment as It Applied to MMDs
¶ 63 Two provisions of the Second Text Amendment are at issue in this appeal: first, that no acts may take place in any zone which are in violation of federal law, and second, that MMDs are limited to IND-3 zones. The County does not argue in its briefs that the first provision was valid under the AMMA, thus waiving that issue on appeal. Ness,
¶ 64 Regardless of waiver, however, the Second Text Amendment’s prohibition of any acts in violation of federal law, as applied to the MMDs operating consistently with the AMMA, conflicts with the AMMA.
¶ 65 Zoning regulation is “based upon the police power of the state” and, generally speaking, “a matter of statewide concern.” Levitz v. State,
¶ 66 Contrary to the County’s contention, the zoning issue is not whether the AMMA preempts local jurisdictions from regulating or restricting the location of MMDs. Rather, we are called upon to harmonize two statutory provisions, with the goal of giving meaning to both while also construing the AMMA to give effect to the voters’ intent. Gear,
¶ 67 We hold that such a ban is not consistent with the express provision of the AMMA that local jurisdictions “may enact reasonable zoning regulations that limit the use of land for [MMDs] to specified areas in the manner provided in ... title 11, chapter 6, article 2.” AR.S. § 36-2806.01. If a zoning provision violates the AMMA, it is void. Jachimek v. Superior Court,
¶ 68 We interpret statutes to give effect to the legislative intent behind them and, in the ease of statutes created pursuant to an initiative, to give effect to the voters’ intent. Calik v. Kongable,
¶ 69 Section 36-2806.01 is plain on its face. It does not preempt local zoning restrictions on MMDs but authorizes local jurisdictions to enact “reasonable zoning regulations that limit the use of land for [MMDs] to specified areas in the manner provided in ... title 11, chapter 6, article 2.” (emphasis added). As such, a local jurisdiction cannot adopt a zoning regulation that is self-defeating by banning MMDs. A ban on MMDs cannot be a “reasonable zoning regulation[ ] ... limiting MMDs] to specified areas.... ” Such an interpretation of § 36-2806.01 would nullify the basis for the AMMA, to permit use of marijuana for medical purposes consistent with the AMMA’s terms and provide for a regulatory system of dispensaries to operate in compliance with the terms of the AMMA. Although § 36-2806.01 references the general authority of counties to establish zoning regulations pursuant to A.R.S. §§ 11-811 to -820, § 36-2806.01 is the more specific of the two statutory schemes. It therefore limits local jurisdictions’ zoning powers to ensure those zoning decisions comply with the AMMA. Baker v. Gardner,
¶70 Because the Second Text Amendment’s provision barring any conduct in violation of federal law as applied to MMDs was in conflict with the limitation on zoning authority in the AMMA, the superior court did not eiT in striking that portion of the Second Text Amendment solely as it applied to MMDs.
¶ 71 We find further support for our conclusion based on rules of statutory construction. Analysis of this issue cannot be based exclusively on the County’s broad zoning powers under A.R.S. § 11-811, but whether such authority was limited by the language in the AMMA that “counties may enact reasonable zoning regulations that limit the use of land for [MMDs] ... to specified areas in the manner provided in ... title 11, chapter 6, article 2.” A.R.S. § 36-2806.01. If the voters had wanted the County to merely exercise its zoning authority under § 11-811, it would have simply stated that counties may provide zoning restrictions pursuant to § 11-811. We therefore must give some meaning to the language of A.R.S. § 36-2806.01 requiring “reasonable zoning regulations that limit the use of land for [MMDs] to specified areas” to give it effect and avoid redundancy. See Deer Valley Unified Sch. Dist. No. 97 v. Houser,
¶ 72 Harmonizing these sources of authority clarifies that the AMMA envisioned MMDs would be permitted in specified areas within a county and that the reference to “the manner provided in ... title 11, chapter 6, article 2” would relate to the procedure for zoning. Banning all MMDs because they violate federal law is inconsistent with the express provisions of the AMMA limiting local jurisdictions’ zoning authority to “reasonable zoning regulation ... limiting MMDs] to specified areas....”
¶ 73 The County is obviously concerned about medical marijuana and has attempted to ban MMDs if they violate the CSA even if they would be operating within the requirements of the AMMA. However, the voters of Arizona have spoken and want MMDs to operate subject to the conditions of the AMMA, including reasonable zoning restrict ing MMDs to specified areas. Such a limited role for local jurisdictions does not give them carte blanche to ban private enterprise under the AMMA under the guise of regulation. Cf. Granholm v. Heald,
¶ 74 The County’s reliance on City of Riverside v. Inland Empire Patients Health & Wellness Center, Inc.,
¶ 75 Indeed, the court in Riverside also noted that neither statutory scheme covered areas of zoning, land use planning, or business licensing so as to preclude local jurisdictions from banning dispensaries. Id. at 506,
¶ 76 In contrast, here we have a complex regulatory scheme of MMD operation subject to ADHS regulations. Although the AMMA recognized the role of local jurisdictions, it limited the power of such jurisdictions to “reasonable zoning regulation ... limiting MMDs] to specified areas.” A.R.S. § 36-2806.01. The nature of a regulated system of MMDs, subject to ADHS oversight, and the express language that local jurisdictions can only pass reasonable zoning regulations limiting dispensaries to specified areas is the exact antithesis of the California system at issue in Riverside. We need not reach the possible scope of such zoning restrictions because we conclude that a total ban on MMDs under the poison pill provision violates A.R.S. § 36-2806.01.
¶ 77 We also reject the County’s argument that the superior court erred in striking the Second Text Amendment and in concluding that once the ban on MMDs was struck, there were no prohibitions on MMDs in the unincorporated portions of the County. The County argues that because the MCZO is permissive in nature, that is, use is prohibited unless specifically authorized, and because none of the MCZO zoning categories list MMDs as a permitted use, the absence of MMDs as a permitted use means such use is prohibited. The County’s argument ignores that the court struck all provisions of the Second Text Amendment as they specifically related to MMDs. Thus, as applied to MMDs, any permissive nature of the Second Text Amendment was also struck, and the court correctly held that the State should process
¶ 78 Finally, the County also argues that the court’s order striking the entire Second Text Amendment as applied to MMDs was too broad. To the extent that argument goes to the MCZO being permissive and the court’s conclusion that by striking the Second Text Amendment there were no zoning prohibitions for MMDs, we have rejected that argument supra ¶78. To the extent the County is contending a court cannot substitute its judgment for that of the zoning authority because zoning is a legislative function, that did not occur here. All the court did was strike the zoning provisions as applied to MMDs as violative of the AMMA.
¶ 79 There is no genuine issue of material fact precluding the superior court’s grant of summary judgment. As a matter of law, the Second Text Amendment’s bar of any activity prohibited by law as applied to MMDs that were in compliance with the AMMA was self-defeating and in violation of the AMMA.
III. Attorneys’ Fees Appeal
¶ 80 In the Attorneys’ Fees Appeal, the County argues that the superior court’s $5000 sanction pursuant to A.R.S. § 12-349 was not justified because the County did not act in bad faith and asserted a reasonable defense. The County does not challenge the amount or other statutory bases for the separate fee award. See AR.S. §§ 12-348 (Supp. 2013) and -2030 (2016). Thus, we affirm the award of $190,000 in fees under those statutes and the $3700.02 in costs. We review only whether awarding the separate sanction pursuant to A.R.S. § 12-349 was clearly erroneous. See Bennett v. Baxter Grp., Inc.,
¶ 81 Section 12-349 provides the superior court with discretion to award “double damages of not to exceed five thousand dollars” if a party “brings or defends a claim without substantial justification” or “unreasonably expands or delays the proceeding.” “Without substantial justification” means that “the claim or defense is groundless and is not made in good faith.” AR.S. § 12-349(F); see also Reynolds v. Reynolds,
¶ 82 Section 12-350 (2016) provides “the court shall set forth the specific reasons” for an attorneys’ fees award made pursuant to § 12-349 “and may include certain listed factors, as relevant, in its consideration.” See Bennett,
¶ 83 The superior court determined that the County’s opposition to White Mountain’s request for a declaration that the Second Text Amendment was unreasonable was “without substantial justification” because the County’s position was “clearly unjustified in light of [the superior court’s] adverse findings on the preemption.” See A.R.S. § 12-349(A)(1). The court also determined that “the County’s defense of the zoning ordinance
¶84 Even interpreting the record in the light most favorable to affirming the sanction award, we cannot conclude that the County acted in bad faith. First, the court expressly found that the County had not acted in bad faith, but only that its defense of the action was unjustified once the court had ruled on preemption. The court’s findings assume the County’s argument that the Second Text Amendment was consistent with the AMMA was either groundless or not made in good faith. However, the court had already ruled that the County had not acted in bad faith and at a minimum, we cannot say that the County’s reasonableness argument for zoning MMDs was groundless, at least as to the IND-3 zone. Although the County’s argument was not successful on that issue, it had some evidentiary basis as to the reasonableness of the IND-3 zoning classification in the abstract, simply missing the issue that it was not the reasonableness of the classification, but that such a classification barred MMDs because their acts violated the CSA.
¶ 85 Nor can we agree that the County’s non-preemption arguments unreasonably expanded or delayed the proceedings. White Mountain had alleged and moved for partial summary judgment on the issue of whether the zoning was reasonable regardless of preemption. The County did not unreasonably expand or delay the proceeding by attempting to defend against that claim.
¶ 86 Therefore, we reverse the award of a $5000 sanction but otherwise affirm the fee award to White Mountain.
IV. Attorneys’ Fees and Costs on Appeal
¶ 87 White Mountain requests attorneys’ fees and costs on appeal pursuant to A.R.S. §§ 12-848, and -2030. Because the State intervened in the superior court proceedings, appealed the court’s denial of its counterclaim for declaratory relief, and has been denied such relief on appeal, White Mountain has prevailed in an adjudication of the merits against the State. See A.R.S. § 12-348(A)(3) (stating a party is entitled to attorneys’ fees if it prevails on an adjudication of the merits in proceeding pursuant to A.R.S. § 41-1034 which involves actions for declaratory judgment filed in accordance with the Uniform Declaratory Judgments Act). Thus, White Mountain is entitled to fees against the State. It is also entitled to its costs on appeal against the State pursuant to A.R.S. § 12-348. Similarly, because the County appealed from the summary judgment on preemption and zoning and we affirm the superior court on those issues, White Mountain is entitled to reasonable attorneys’ fees and costs against the County in the Preemption and Zoning Appeals. Any such award will be joint and several against the State and County.
CONCLUSION
¶ 88 For the reasons stated above, we affirm all of the judgments entered for White Mountain except we reverse the award of sanctions of $5000 against the County. We will also award White Mountain its reasonable attorneys’ fees and costs against the State and County on appeal upon timely compliance with ARCAP 21.
Notes
. We cite the current version of applicable statutes when no revisions material to our opinion have occurred.
.The Appellants are Maricopa County and the Maricopa County Attorney, William Montgomery, in his official capacity (collectively, the “County"), and Intervenor/Appellant State of Arizona ex rel. Arizona Attorney General Mark Brnovich (the "State”).
. See infra ¶ 9.
. We refer to the regulations in effect in June 2012. The current regulations, which were amended December 2012, do not affect resolution of these appeals.
.Among other things, A.A.C. R9-17-305 requires the entity applying to operate an MMD to provide "documentation issued by the local jurisdiction ... authorizing occupancy of the building as [an MMD]” and a sworn statement by the proposed MMD's principal officers and board members "certifying that the [MMD] is in compliance with local zoning restrictions.”
. CHAA 49 is located in Sun City and is entirely within unincorporated portions of Maricopa County.
. The parties stipulated in the superior court that the existence of the CHAA system is irrelevant to zoning.
. Former ADHS Director Will Humble has been replaced by Dr. Cara Christ.
. White Mountain also sought mandamus and/or declaratory relief that: (1) it had complied with the MCZO; (2) the MCZO did not contain any restrictions on MMDs; (3) the MCZO did not contain reasonable restrictions; (4) in the alternative, that the only reasonable zoning restrictions were C-2 and C-3 zones and limitations on the exact location of MMDs close to schools and other facilities; (5) White Mountain had complied with all statutory and regulatory requirements for the issuance of a registration certificate; and (6) ADHS issue the registration certifícate.
. We further discuss impossibility and obstacle preemption infra ¶34.
. During oral argument on appeal, both White Mountain and the County averred that White Mountain had opened its MMD in CHAA 49. We understand that to mean that ADHS took all necessary actions to process and approve White Mountain's application.
. U.S. Const, art. VI, cl. 2.
. Reed-Kaliher also noted that Congress cannot compel states to enact or enforce a federal regulatory program, and the CSA does not require Arizona to enforce federal law.
. The United States Supreme Court recently denied leave to file a bill of complaint in Nebraska v. Colorado, — U.S. —,
. White Mountain argues the issue of federal preemption is moot because the superior court’s rulings have permitted White Mountain to proceed and, White Mountain is therefore no longer seeking mandamus relief and Appellants no longer have standing to assert the affirmative defense of preemption. We will, of course, strive to avoid constitutional issues if the appeal can be resolved on other grounds. See Fragoso v. Fell,
.Section 4(a) of the Michigan act provided, in relevant part, that: "A qualifying patient who has been issued and possesses a registry identification card shall not be subject to arrest, prosecution, or penalty in any manner, or denied any right or privilege, including but not limited to civil penalty or disciplinary action by a business or occupational or professional licensing board or bureau, for the medical use of marihuana in accordance with this act.” Ter Beek,
. The County also relies on Pack v. Superior Court,
Appellants also cite Gonzales v. Raich,
Neither case affects our preemption analysis. Raich addressed whether the CSA’s criminalization of marijuana, including prohibition of local cultivation and use of marijuana in compliance with California law, was constitutional under the Commerce Clause, not whether state laws permitting medical marijuana were preempted by the CSA.
. The two provisions at issue stated that: "A person who possesses a registry identification card ... may engage in ... the medical use of marijuana....” O.R.S. § 475.306 (West. 2003) (emphasis added); and defined "registry identification card” as "a document ... that identifies a person authorized to engage in the medical use of marijuana....” O.R.S. § 475.302(9) (West. 2003) (emphasis added).
. As applied to the County issuing zoning clearances to White Mountain, the County's argument about potential federal prosecution is moot. The superior court, not the County, ultimately issued the necessary zoning clearance as part of its November 25, 2013, judgment. In that judgment, the court held that White Mountain had "fully complied with local zoning restrictions, because there [were] none,” ordered ADHS to process White Mountain's application for a registration certificate, and enjoined ADHS from denying White Mountain’s application based on the failure to provide evidence of compliance with local zoning ordinances.
. The County also listed as an issue that the superior court violated separation of powers by ascribing a motive to the County in adopting the Second Text Amendment. The County waived this issue by not arguing it in its appellate briefs. Ness,
. Our holding would also apply to the poison pill provisions of the First and Third Text Amendments as to MMDs.
. We understand the County to be arguing that the superior court erred in striking the Second Text Amendment and not that the court erred in holding that White Mountain had complied with the zoning requirements if we did not uphold or address the court’s ruling on IND-3 zoning.
. In 2012, Article 2 consisted of A.R.S. §§ 11-811 to-818 (2012).
. Moreover, taking the Appellants’ argument to its logical conclusion, if a county desired to ban MMDs on unincorporated county land and all incorporated jurisdictions within the county did the same, then MMDs would be effectively banned from the county. This would violate the apparent requirement of the AMMA that there be at least one MMD per county if a party applying to operate an MMD met AMMA requirements. See A.R.S. § 36-2804(0 (stating ADHS "may not issue more than one [MMD] registration certificate for every ten pharmacies ... except ... to ensure ... [ADHS] issues at least one [MMD] registration certificate in each county in which an application has been approved”).
. Cal. Health & Safety Code § 11362.5 et seq.
. Cal. Health & Safety Code § 11362.7 et seq.
. The first statute, California Health & Safety Code § 11362.768, limited dispensaries to a certain distance from a school, but also provided that nothing in that section could prohibit a local jurisdiction "from adopting ordinances or policies that further restrict the location or establishment of a medical marijuana ... dispensary” or "preempt local ordinances, adopted prior to [the amendment], that regulate the location or establishment of a medical marijuana ... dispensary.The second statute, California Health & Safety Code § 11362.83, provides that nothing in the MMP shall prevent a local government from adopting "local ordinances that regulate the location, operation, or establishment of a medical marijuana cooperative or collective,” the civil and criminal enforcement of those ordinances, or enacting "other laws consistent with” the MMP.
. Additionally, we need not reach the issue of whether that order should result in reviving the First Text Amendment as argued by White Mountain. After the court struck the Second Text Amendment, the County adopted the Third Text Amendment, which permitted a broader range of zoning for MMDs and stated that the Third Text Amendment would be automatically void if the appellate court reversed the superior court’s order striking the Second Text Amendment. Since we have affirmed the court on striking the Second Text Amendment, any issue as to revival of the First Text Amendment is moot.
. Our decision as to the sanction under § 12-349 is the same under both versions of the statute.
