AG Barr has secured an agreement with MotoGP driver Jorge Lorenzo to front a consumer campaign for its Rockstar energy drink brand in the UK.