It's not possible to put enough stewards between the stand and the park to stop people coming on. Their is no way the club, the stewards or the police can stop a couple of hundred people getting over the wall if they are determined to.
The SPFL obviously think handing out a few bans might discourage it happening again. It'll be interesting to see how the club react.