Gujarat High Court Civil Manual (subordinate court practice), 1960
The following instructions for the dress of Officers and soldiers appearing before a Civil Court (other than a Court established under military law) have been approved by the Governor-General in Council (see Government Resolutions in the Military Department, No. 1686, dated the 29th August 1891) :— (i) An officer or soldier required to attend a Court in his official capacity should appear in uniform, with sword or side-arms. Attendance in an official capacity includes attendance :— (a) As witness, when evidence has to be given of matters which came under the cognizance of the officer or soldier in his military capacity ; (b) By an officer for the purpose of watching a case on behalf of a soldier or soldiers under his command. (ii) An officer or soldier required to attend a Court otherwise than in his official capacity may appear either in plain clothes or uniform. (iii) An officer or soldier shall not wear his sword or side-arms if he appears in the character of an accused person, or under military arrest, or if the presiding officer of the Court thinks it necessary to require the surrender of his arms, in which case a statement of the reasons for making the order shall be recorded by the presiding officer, and, if the military authorities so request, forwarded for the information of His Excellency the Commander-in-Chief. (iv) Fire-arms shall under no circumstances be taken into Court.