Reduction of warrant officer or non-commissioned officer: When under the provisions of
section 77) a warrant officer or a non-commissioned officer is deemed to be reduced to the ranks, such reduction shall, for the purpose of , be treated as a punishment awarded by a sentence of a court-martial.