Petitioner instituted this proceeding in certiorari to review the. order of the Industrial Accident Commission fixing his compensation, after rehearing, for legal services rendered to an applicant for compensatiou *191 under the provisions of the Workmen’s Compensation Insurance and Safety Act.
As disclosed by the record filed by respondent herein, the attitude of the referee to whom the rehearing had been referred by the commission was extremely hostile and prejudicial to the petitioner throughout the entire proceedings. Immaterial and irrelevant testimony was taken for the purpose of attacking the professional standing of petitioner; the referee took petitioner’s witnesses out of his hands, con *192 ducted their examination in his own way, refused to permit petitioner to cross-examine witnesses who were antagonistic to him, and studiously obstructed petitioner in his attempts to produce testimony favorable to his cause.
Counsel for respondent states that there is but one question involved in this proceeding: “What was the value of the services performed by petitioner ... ?” or “Has the Industrial Accident Commission authority under sections 24(b) (1) and 24(d) of the Workmen’s Compensation, Insurance and Safety Act, to fix the fees of attorneys representing applicants before it?” This court is unable to determine the value of the services performed by the petitioner because the referee to whom that matter was referred for adjudication failed to give petitioner a fair opportunity to make proof of such value. That the Industrial Accident Commission has authority under the sections cited to fix fees can scarcely be questioned. Section 24, subdivision (b) (1) authorizes the commission to fix and determine a reasonable attorney’s fee for legal services pertaining to any claim for compensation or application filed therefor. No constitutional objection has been raised to this provision of the act, and it may, therefore, in this proceeding, be taken for granted that the power is one which the commission may lawfully exercise. Subdivision (d) of the same section provides that “no claim or agreement for the legal services ór disbursements ... in excess of a reasonable amount, shall be valid or binding in any respect, and it shall be competent for the commission to determine what constitutes such reasonable amount.” No constitutional objection has been raised to this provision of the act and, for the purpose of this proceeding, it also may be assumed to be valid. But it must be evident that if the obligation of a contract to pay for legal services, which has been executed by parties legally competent to contract, is to be impaired by the order of the commission solely on the ground that it is unreasonable, some semblance of a judicial hearing must be accorded the contracting parties before such order is made.
An applicant for compensation is entitled to be represented by counsel in proceedings before the commission. There is no odium attached to counsel who render such services. Though the efforts of the commission to protect the interests of applicants for compensation are highly commendable, it is just as important that other persons coming within its jurisdiction be treated with equal justice. If a party who has entered into a contract employing an attorney and agreeing to pay him compensation for the services to be rendered seeks to avoid the obligation of such contract after the services have been rendered and the benefits retained by him, the attorney is entitled to a fair and impartial hearing before the commission on the question of the reasonableness of the fee which the contracting parties had agreed should be paid.
That petitioner in this case did not receive such a hearing is too plain to question. The award of forty-five dollars as compensation to petitioner for the services admitted to have been rendered by him in the proceedings before the commission is less than the ordinary charge made by attorneys for the collection of a promissory note without any form of legal proceedings. Upon the meager showing petitioner was permitted to make it is apparent that the fee allowed was unreasonably low for the services rendered. But, as heretofore stated, it is impossible for this court to determine what allowance should be made for the services rendered because the referee failed to permit petitioner to fairly present his evidence on that issue.
For these reasons the order of the commission is annulled..
