All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
The forbidden bribery is the one by which one does injustice or blocks justice, as regards what a person has to pay to get a right, or to avoid an injustice or harm, then this is not forbidden bribery for him; rather, this bribery is forbidden for the one who takes it.
Therefore, it is permissible for you to pay bribery to those people in order to get your right or repel harm off you if you have no other alternative.
For more benefit, please refer to Fataawa 83777 and 85946.
Allaah Knows best.