If your country introduces this, you already failed to leave it 6 months before that moment at latest.
Don't give your productivity or presence to dystopias, give them feedback, vote with your feet.
And have a plan B (for example with liberation.travel)