A homeowner fighting foreclosure can raise the defense that Wells Fargo Bank did not act in good faith in handling her mortgage-modification request.

Given the bank’s “apparent unreasonable actions, … equity demands that she be able to proceed … with her defenses against foreclosure,” Bergen County Assignment Judge Peter Doyne wrote in an opinion released Monday.