In Battlefield games of old, banning players in custom games didn’t really work. Players who didn’t follow the rules or trolled their teammates could be removed from the game by admins, but their bans would only last for as long as the server was alive.

Source: N4G PC Battlefield 2042 will have persistent bans in Battlefield Portal