(a) Notwithstanding any other law and except as provided by Subsection (c), a political subdivision may not adopt an order, ordinance, or other measure that regulates agricultural seed, vegetable seed, weed seed, or any other seed in any manner, including planting seed or cultivating plants grown from seed.
(b) An order, ordinance, or other measure adopted by a political subdivision that violates Subsection (a) is void.
(c) A political subdivision may take any action otherwise prohibited by this section to:
(1) comply with any federal or state requirements;
(2) avoid a federal or state penalty or fine;
(3) attain or maintain compliance with federal or state environmental standards, including state water quality standards; or
(4) implement a:
(A) water conservation plan;
(B) drought contingency plan; or
(C) voluntary program as part of a conservation water management strategy included in the applicable regional water plan or state water plan.
(d) Nothing in this section preempts or otherwise limits the authority of any county or municipality to adopt and enforce zoning regulations, fire codes, building codes, storm water regulations, nuisance regulations as authorized by Section 342.004, Health and Safety Code, or waste disposal restrictions.