Both A7 and A10 heads fit either cylinder barrel, the headbolt positions are the same. Cylinder bores are different but if there is nothing else available these parts can be made to work.
Have you really got the wrong barrel? A7 has 7 fins, A10 has 8. Could be it is A10 inside, fitted into A7 stamped crankcases.
Now get over to the introduction section and tell your backstory. Welcome along.
Swarfy.