Presidents can pardon to provide a check on the courts. If congress doesn't like the pardon they can impeach the president.