You will safe if you entered the intersection on amber, most likely a car behind you as already suggested. However, here in Victoria we have some intersections with red light and speed cameras. So it is possible to get 'done' twice. that's when you know you have had a 'bad' day!