It keeps him less aggressive because he is being dominated by the other snake. It is only going to lead to problems.

Experienced herpers can pull off 2 snakes in a cage, but unless you are a Zoo or a Pet store there is no need to. New people ESPECIALLY should not do 2 snakes in a tank