A dispersal order was put in place after dozens of cars descended on the seafront