(a) Penalties for violation.--To the extent provided by ordinance, council may assess penalties for the violation of regulations relating to shade trees or delegate the power to assess penalties to a shade tree commission. Any penalty assessed shall be a lien upon the real estate of the offender and may be collected as municipal claims are collected.
(b) Separate fund.--All penalties or assessments imposed under this subchapter shall be paid to the borough treasurer, to be kept in a separate fund and utilized only for the purposes authorized by this subchapter.