They can, but that doesn't stop Apple's behaviour from being anti-competitive and illegal under EU law. Apple only control a minority of the smartphone market, but they exert a stranglehold over that share and use that stranglehold to artificially disadvantage competitors.