Racing online. As soon as the lights turn green I have a message telling me I've been penalised and have to drive through the pits.

So I pit in and I've been sat here for the entire duration of the race? WTF???

What did I do wrong and why can't I exit the pit?

I feel like I can't even rage quit because my license rank will be penalised so I'm forced to sit here and be punished for not doing anything wrong.