they can make whatever laws they like really - the EU punishes corporate infringement with percentage of global revenue for example
whether they can enforce them or not is questionable in most cases, but unless apple wants to pull out of europe, the EU can kinda do whatever it likes