these are the wording
there is no loophole
second part seems reasonable. first part is too vague and restrictive.
using that wording one can say a foreign countries top defense officials aren't allowed to enter iran either. (like jassm al freij or shoygu visits) Military attaches cant be present on Iranian territory. allied military personnel aren't allowed on Iranian territory.
foreign soldiers (like Syrian and Iraqi) soldiers getting trained on Iranian territory aren't allowed.
this statue has been violated already many times, and the wording is too vague and restrictive. Iran can easily interpret the Russian military presence as some sort of innocent passage/ or resource sharing agreement and get around it as well..
I don't think changing the consitituion is realistic. that's a pandoras box most governments don't want to open as it would result in demands for other changes now that the ovens hot basically....