Yes, i do agree with you.
So, if i follow these rules it should be fine even if i live somewhere else?
My country of origin: A (days spent 160, but no ties)
My country of residence: B (days spent 30/40, company setup here, rental contract, mobile phone, tax certificate)
Country where i stay...