In theory it's all fungible and doesn't work this way. If it did, they would just take out a loan and buyback their stock and skip all the extra steps.
This seems like a strawman. You could almost definitely ask/warn the user when they set the cap, or you could make the cap not apply to anything that is not trivially recoverable.