The pop star's legal team had tried to prevent the release of footage from his arrest, but reached an agreement.