1. That the offender is an officer of the executive
    branch of the government; and
2. That he
   (a) assumes judicial powers, or
   (b) obstructs the execution of any order or decision
        rendered by any judge within his jurisdiction.

A mayor is guilty under this article when he investigates
a case while a justice of the peace is in the municipality.