We always check available balance at the time of the transaction, that is why you could execute the transfer. However, if your balance is not enough at the actual time the transfer is sent (deferred transfer, standing orders), the transfer won't go through. If this happens, simply add more money to your account and make the transfer again.