I don't think any legislature or courts would have problems with genuine warnings and if they did it'd likely require additional laws. Favoring the built in store so heavily by disabling more functionality than strictly required might be taken as going against the law already going into effect or be seen as overly anticompetitive in general though. The same might be said for overly aggressive/false warnings.