Thanks for the answer!
Yeah we are comfortable with setting the cookie before consent and randomizing on it, but that is also what is causing the issue with the redirect. But we would of course instead face major flickering if we were to wait for a cookie that only loads after consent or wait for redirect before consent is given.
I guess there are not so many options here, but it just felt weird since it feels like redirect is widely used (even in frontend implementations) but I have a hard time thinking that you'd just accept SRMs or major flickering 🤔