A long legal battle in Jessamine County is asking the question: Where do local ordinances end and state ordinances begin?