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