Complex gun law takes effect