I don't believe there is any legislation to prevent airlines cancelling flights due to poor loads. Happens often in the regions, particularly over Xmas where in some ports demand is very weak so a flight is cancelled and the pax transferred onto the next service.