If any justice court judge or the partner in the practice of law of any justice court judge shall appear before a justice court judge of his district as attorney or counsel in any misdemeanor case over which he has jurisdiction, or in any appeal of any such case from the judgment of such officer, or in any certiorari to any such officer for the same, he shall be guilty of a misdemeanor and, on conviction, shall be fined not more than Five Hundred Dollars ($500.00), or be imprisoned not more than six (6) months, or both.
Miss. Code § 73-3-45