I guess you have a safe distance.
My mechanic mentionerd that for installation of the ballastas close to the key. He found it creates problems on Ducatis, where the ballasts were mounted on a beam supporting also the key. I also have my ballasts mounted at the aluminum plates of the subframe, however I do not have immobilizer. I think the distance is safe but if you encounter another problem, keep it in mind for another thing to check. You never now with these complicated things...