KRACOEUS-7197

So I meant to comment before. I'd rather see this done in the processBeforeAddLine or processAfterAddLine. A "validation" method shouldn't cause side effects.