Jury is always advised by the Judge to follow the law(s) which will be explained to them. However, they do have power to decide that law(s) either do not apply or are not just. Though they will also be advised that going “your own way”
so-to-speak makes a compelling case in appeals court…