22 . (1) Tn time of war, if the whole or any part of the army is required to act in co-operation with any foreign military force in defence of Sri Lanka the President may place the army or such part thereof under the command of the officer commanding such foreign force if that officer is senior in rank to all the officers of the army or of such part thereof.
(2) Where any officer, warrant officer, or non-commissioned officer is acting in
co-operation with any foreign military force in defence of Sri Lanka, the President may, in agreement with the commander of such force, define the powers of command and the order of precedence of such officer, warrant officer, or non-commissioned officer in relation to a member of such force who is of the same or similar rank. *Co-operation with foreign military force.*