Section 111(2) in The Naval Ceremonial, Conditions Of Service And Miscellaneous Regulations, 1964
(2)On all occasions of naval funerals the Senior Officer present shall regulate the strength and composition of the funeral and firing parties, the number of officers and men forming the parties being, however, subject to the means at the disposal of the Senior Officer present.