Server owners can use
mp_humans_must_join_team to prevent fighting or spawning in wrong teams.
And better Idea is: Save location should be for SteamID, Team and Class.
That should prevent people from beating certain levels on other classes:
explanation: "ohhh this level is hard for Soldier. I will take demoman!"
Sorry for my English