Because the real assassin didn't want the attention, and real heroes tend to have mysteriously short lifespans.
Letting a fall guy enjoy the fame and either prison time or exoneration gives our real hero a lot of headstart on disappearing and becoming someone else.
If a court didn't order it then it isn't a deportation.