Matchmaking and war - question – if someone left alliance after matchmaking, will he be considered as ex-member during the war?

If you leave after match making you will be a ex-member and not be able to use flags in the war if you return is my understanding.