Let's consider following case:
1) I am EU citizen (Poland).
2) I want to rent a flat in Barcelona, Spain from 01.06.2024 to 31.05.2025 (that means I need to have NIE).
3) I want to stay 182 days in Barcelona in Barcelona from 01.06.2024 to 31.05.2025 with a break for Christmas holidays in...