The penalty in the commonwealth for impersonating a “justice of the peace or other officers” is not more than $400 or ...