(3)A permit issued pursuant to this part 2 does not authorize a person to carry a concealed handgun onto the real property, or into any improvements erected thereon, of a public elementary, middle, junior high, or high school; except that:
- (a)
A permittee may have a handgun on the real property of the public school so long as the handgun remains in his or her vehicle and, if the permittee is not in the vehicle, the handgun is in a compartment within the vehicle and the vehicle is locked;
- (b)
A permittee who is employed or retained by contract by a school district or charter school as a school security officer may carry a concealed handgun onto the real property, or into any improvement erected thereon, of a public elementary, middle, junior high, or high school while the permittee is on duty;
- (c)
A permittee may carry a concealed handgun on undeveloped real property owned by a school district that is used for hunting or other shooting sports.