1 hour ago, thespaceinvader said:The key point is that the replaced effect is treated as not having occurred. So a disarm token was never gained and as a result everything contingent on it cannot occur. So the 'if you do' fails, because you don't.
After reading the rules for replacement effects, I still don't agree. 'If you do so' is not referring to gaining a disarm token. It is referring to you choosing the do the first part of the ability. The replacement effect makes you gain a different token, but you still chose a ship and gained said token. So the condition is met. If on the other hand the second sentence had said 'When you gain a disarm token' then it would not have worked.