Related question here
As you can see in the picture I've taken from this answer (below) R2D2 can be pretty clearly seen in the opening battle in Star Trek (2009) and Star Trek Into Darkness (kudos Richard). My question: What is the out-of-universe reason for including R2D2 in a Star Trek film?
Bonus question: although I doubt there is one, is there an in-universe reason provided for R2 being here?