King Charles has played a part in an historic hand ba' game in the Borders - despite some concern from his security guards.