Under the bill now headed to the governor, someone who shoots an intruder on his or her property couldn't be convicted of violating a local gun ban. The bill would not prevent state charges if prosecutors believed the shooter committed a crime.