As above Donzie, the VCRA is the relevant piece of legislation here, not UKARA (which is just a database). Weirdly, as long as you're over 18 it's never illegal for you to buy a RIF, so you're covered either way.
For your friend to have the defence he'd probably like to have as a seller he...