If the accused is tried and found guilty in a municipal court, either by the court or by a jury, or is convicted upon a plea of guilty, the court shall render judgment and sentence the accused, either by a fine, imprisonment, or both, as the case may require. The court also may order the accused to pay the costs of prosecution and other reasonable costs and expenses, direct and indirect, as the public has been put to in connection with the offense, not to exceed $15.00 in a criminal case. The punishment provided for by the sentence shall not exceed the limit fixed by law for the offense charged.
MCL 774.22