A car in Bradford which had carried balaclava-clad occupants was seized after police officers had to intervene to prevent a crash.