Whoever, being a judicial officer, juror, commissioner, referee, arbitrator or person authorized by law to hear or determine any question or controversy, asks, receives, or agrees to receive any bribe, upon any agreement or understanding that his vote, opinion, or decision upon any matter or question which is or may be brought before him for decision, will be influenced thereby, shall be fined not more than $1,000 or imprisoned not more than 5 years, or both.