Just for the pleasure of nitpicking: that would be “Carte SIM illégale” (trailing “e”, feminine form) but that’s fine as is — it will be overwritten by our l10n contributors anyway.

More generally, “illegal” seems too strong in this case but I’m not a native English speaker. Are there similar “illegal SIM” messages on iOS or Android?