Although Lefty or C-4 can probably answer the question a lot better than I can, I believe that there are licensing organizations that manage this stuff in most countries. So, the record company does not need to contract with the radio station. Rather, the radio station indicates what they played, and the organization distributes the royalties.