You can change the customer group at the order level. This makes it possible to direct the coding differently depending on which order type that has been registered.
If you change the customer group on an existing order a control question appears.