In Thailand, a minor (one who has not received sui juris) is a person under the age of 20. An exception is made if the person is married - which can happen when both parties are over the age of 17.
Say a person at the age of 18 marries. The marriage could be terminated, in the instance of divorce or the death of the other partner.
If this termination happens before the person's 20th birthday, do they retain sui juris?