«… and it is customary to draw a line above all the letters making up the number, the dots of i and j being put above this line; for example, xviij»
So, XVIII would have been written likes this: _____
XVIII
-----
Lines would clearly delineate the beginning and the end of the number. This is how I have written the Roman numerals since school.So, if the script had X written that way, adding a C, would have also required both lines to be extended. Not impossible to forge, but an extra effort nevertheless.
It might differ by location, but here (I'm in the UK), it's not unusual to e.g. get 14 pills of antibiotics if prescribed a two week course even if the package is in units of 10, for example.
Matching packaging sizes is not necessary - I have had prescriptions that do not match packaging sizes many times - they will cut up sheets or transfer to other containers as needed.
I can't find anything to suggest EU rules prevents split packs - I do see there was a tightening of the rules on how to treat packs if dispensing split backs a few years ago, but nothing since. Do you have a source?
EDIT: At least as late as per the False Medicines Directive going into force in 2019, split pack dispensing was explicitly allowed - the FMD set out rules for the controls required to do so. E.g. the original container can not leave the dispensary until its entire content is used, and the pharmacy can't re-sell or supply other pharmacies with it.