it is illegal to be living in a country while just being under a tourist visa for a year.
Thats why they have proper visa to live long term, you can’t abuse the system and be surprised. Try that on a western country if you’re from a 3rd world and they’ll deport you right back.