(1) a claim to the instrument under AS 45.03.306 is enforceable against the party receiving payment and
- (A) payment is made with knowledge by the payor that payment is prohibited by injunction or similar process of a court of competent jurisdiction; or
- (B) in the case of an instrument other than a cashier's check, teller's check, or certified check, the party making payment accepted, from the person having a claim to the instrument, indemnity against loss resulting from refusal to pay the person entitled to enforce the instrument; or