Remember, Perez is also looking out for the Emperor's best interests. The Emperor doesn't want to punish Angenas, his wife's family, but is being forced to do so. Perez found the best solution for the Emperor. It's a seemingly light punishment for Angenas, but since Perez offered the solution...