(a) 
There is hereby established a Municipal Court Building Security Fund to be used only to finance the following items when used for the purpose of providing security services for buildings housing a municipal court:
(1) 
The purchase or repair of X-ray machines and conveying systems;
(2) 
Hand-held metal detectors;
(3) 
Walk through metal detectors;
(4) 
Identification cards and systems;
(5) 
Electronic locking surveillance equipment;
(6) 
Bailiffs, deputy sheriffs, deputy constables or contract security personnel during times when they are providing appropriate security services;
(7) 
Signages;
(8) 
Confiscated weapon inventory and tracking systems;
(9) 
Locks, chains or other security hardware; and
(10) 
Any other item or for any other purpose authorized by Article 102.017 of the Texas Code of Criminal Procedure as may be amended by the Texas Legislature from time to time.
(b) 
A defendant convicted in a trial for a misdemeanor offense in the municipal court of the City of DeSoto, Texas shall pay a security fee as set forth in the fee schedule in the appendix of this code as costs of court. A person is considered convicted if:
(1) 
A sentence is imposed on the person;
(2) 
The person receives community supervision, including deferred judication; or
(3) 
The court defers final disposition of the person’s case.
The clerk of the municipal court shall collect the costs and pay them to the municipal treasurer or other official of the City of DeSoto, Texas who discharges the duties delegated to the municipal treasurer for deposit in a fund to be known as the Municipal Court Building Security Fund.
(1995 Code of Ordinances, Chapter 1, Article 1.1500)