Buy CWB.PR.BNat Bank doesn't appear to be buying out the preferreds, so CWB will have to use some of the proceeds to buy them back at par, $25.
So you get the capital gain, plus a hefty dividend until the deal closes. If the deal doesn't close, you still have a preferred with a very high yield.
It is a win, no matter what.