The remit of this site is not discussion of the motivation of writers but the meaning of their words. We leave the reader to speculate on their motivation.
As a simplification, and in the context of the question, one can differentiate between “can” and “may” as follows:
”Something“Something can happen” means that it is possible according to the laws of physics (or in our experience of the world).
”Something“Something may happen” means that it is possible according to the laws of society (or a social institution).
[See e.g. Merriam-Webster]
So I would interpret this as a combination of (1) a warning, and (2) a “legal” statement:
- If you do this it is possible that your exam will be returned with a lower grade.
- If the marker does lower your grade his action will be perfectly legitimate within our regulations.