It can be both but
A. If it is allowed, it needs to be stated that way, so everyone have same and fair chances.
B. If it is not, detection and ruling should be strictly enforced, again to have fair chances for everyone to compete.
Personaly would prefer option B, as per markups going to hell