There shall be assessed by said judge in each case tried by them, in which a fine is imposed, an administrative fee, which shall be paid into the treasury of the city.