If the judge shall refuse to sign a bill of exceptions to an opinion, decision, or charge given or made on the trial of any cause or motion, when the bill of exceptions is tendered to him, it shall be lawful for two attorneys at law who may be present at the time of the giving or making of such opinion, decision, or charge, and of the refusal of the judge to sign such bill of exceptions, to sign the same; and the bill of exceptions so signed shall have the same force and effect as if it had been signed by the judge.