School grounds outside of the building should be treated essentially the same as park grounds. Park grounds are open to the public during the day. Comparing being outside in a parklike setting to being inside a secured building is just silly.
I assume the assistant principal has the authority to order students off school property when the school is closed- probably even when it's open.