An officer collecting fees or costs which he is not entitled to collect, cannot excuse his act by saying he did not know the collection was illegal.33

A public officer shall be held responsible for the consequences of his official acts, where it is in his power to determine his duty, and he fails to do so.34