In this situation, your intentions were
good. However, you were breaking rules in the process. Cars could not pass, blocking the road.
4.18 Police Checkpoint - Police can make Checkpoints but they must have two people at them at all time. You can only hold people and vehicles for the NO more than 2 minutes.