(1) Any person who:
(a) Does not have legitimate business on the campus or any other authorization, license, or invitation to enter or remain upon school property; or
(b) Is a student currently under suspension or expulsion;
and who enters or remains upon the campus or any other facility owned by any such school commits a trespass upon the grounds of a school facility and is guilty of a misdemeanor of the second degree, punishable as provided in s. 775.082 or s. 775.083.
(2) Any person who enters or remains upon the campus or other facility of a school after the principal of such school, or his or her designee, has directed such person to leave such campus or facility or not to enter upon the campus or facility, commits a trespass upon the grounds of a school facility and is guilty of a misdemeanor of the first degree, punishable as provided in s. 775.082 or s. 775.083.
(3) The chief administrative officer of a school, or any employee thereof designated by the chief administrative officer to maintain order on such campus or facility, who has probable cause to believe that a person is trespassing upon school grounds in violation of this section may take such person into custody and detain him or her in a reasonable manner for a reasonable length of time pending arrival of a law enforcement officer. Such taking into custody and detention by an authorized person does not render that person criminally or civilly liable for false arrest, false imprisonment, or unlawful detention. If a trespasser is taken into custody, a law enforcement officer shall be called to the scene immediately after the person is taken into custody.
(4) Any law enforcement officer may arrest either on or off the premises and without warrant any person the officer has probable cause for believing has committed the offense of trespass upon the grounds of a school facility. Such arrest shall not render the law enforcement officer criminally or civilly liable for false arrest, false imprisonment, or unlawful detention.
(5) As used in this section, the term “school” means the grounds or any facility of any kindergarten, elementary school, middle school, junior high school, or secondary school, whether public or nonpublic.