Two police officers were on their way to a priority incident with lights blazing when their car crashed into a guardrail.