Help! Flashed at crossing yellow-red

Hey together, I urgently need advice and (soulish) help.. The following situation: I drive to a junction with traffic lights. Must stop because back traffic jam is on the road. So stop on green. 2 times I wait red – green – red – green. I did not want to integrate into the traffic jam and block even more. Then during the green phase the back traffic jam dissolves and I give gas to connect. But it is already yellow with view on traffic lights established and thought that this still has to be done. Lei but then it flashed 2 times. Apparently it must have changed to red when driving over. But I am 100% sure when driving off it was still yellow, would never drive with red – but was obviously still too late. What consequences do I have to reckon with?? Do you think that can lead to the I.D. withdrawal?? Am really desperate.. Thank you, L.