Train overcrowding 'breaching rules'