I don't think that 2 months was enshrined in any specific rule, although I could be wrong. When the UK was in the EU anybody who was in Greece for more than 3 months was legally obliged to have a residence permit, although it wasn't rigorously enforced. I suspect that they asked you to sign a legal ...