Well, unless there's a regulation against it, they're allowed to both 1) charge for the device and 2) charge for additional software / upgrades you want to set on the device.
If Apple is banned from collecting revenues from the software side, then I guess they'd be stuck with either accepting the new substantially lower margin structure. Or raising the price of the phones to compensate for the missing software margin.