Every commanding officer, when on duty, may ascertain and fix necessary bounds and limits to his parade or encampment. Whoever intrudes within the limits of the parade or encampment after being forbidden, or whoever shall interrupt, molest, or obstruct any officer or soldier while on duty, may be put and kept under guard until the parade, encampment, or duty be concluded; and the commanding officer may turn over such person to any police officer, and said police officer is required to detain him in custody for examination or trial before the Superior Court of the District of Columbia, and the judge thereof may punish such offense by a fine not exceeding $25.
D.C. Code § 49-106