How can energy and momentum *both* be conserved?

It wasn’t in this previous thread (also started by myself), but this only as an aside.