(4) Every person who, being a British protected person, an alien or, if it is so prescribed by Parliament, a citizen of any country within the Commonwealth that does not form part of Her Majesty's dominions and having reached the age of 21 years, applies for registration under this section shall, before such registration, take the oath of allegiance.