Direct or indirect solicitation or reception of any irregular benefit or any such offer for oneself or a third person, by a judge, prosecutor, or other employees of the judicial bodies, or acceptation of an offer or promise deriving from an irregular benefit by the judge, prosecutor or other officials of the judicial bodies for performing or omitting to perform an action relating to their duty or function is punishable with a prison term of three up to ten years.