San Marino is not a member of the European Union or European Economic Area. However, it maintains an open border with Italy. Since San Marino is only accessible via Italy entrance is not possible without entering the Schengen Area first, therefore Schengen visa rules apply de facto. Foreign visitors staying more than thirty days in San Marino must obtain a permit from the government.[1]