You're quite right. But if all lawyers were bound to charge the minimum prescribed fees and nothing more, nobody would ever want to become a lawyer. See how the world goes without a wide variety of legal specialists available to sort the sh*t out...
Typically, a lawyer and his client sign a fee...