How to handle 'related' categories within import script
Sorted. This seems to work...

$catFieldRecord = FieldRecord::model()-&gt;findById(4);
$catFieldModel = FieldModel::populateModel($catFieldRecord);

craft()-&gt;relations-&gt;saveRelations($catFieldModel, $craftcat, $relatedcats);