On devices with headless system user, the SYSTEM user (user 0) is only used for running system services. The system does not allow switching into the system user. As the default multi-user policy is only the system user can obtain root access, app running on secondary users won't able to gain root access.
See https://source.android.com/docs/automotive/users_accounts/multi_user