Pretty sure it's the spawnprotection system that is causing it (unintentionally caching and resetting the team color), @Human should look at it.
The question now is, whether he knew about this bug and intentionally abused it or not.
If you can provide proof of him knowing about it then he shall receive punishment accordingly, otherwise this ends up locked.