An employer shall grant legislative leave to a peace officer or fire fighter who submits an application as prescribed by this subchapter and who complies with any requirement relating to payment of costs:
(1) except in an emergency; or
(2) unless granting the leave will result in having an insufficient number of employees to carry out the normal functions of the employer.