West Yorkshire police have criticised Boris Johnson for making a political speech before a backdrop of its officers, with the chief constable saying the force was assured this would not happen but that Downing Street changed plans at the last minute.

The prime minister has faced widespread condemnation for seeming to abuse the impartiality of police officers by making partisan comments about Brexit and an election at a police training college in Wakefield, West Yorkshire, with officers lined up behind him.

Boris Johnson: police chief 'disappointed' at use of officers for Brexit speech – live news Read more

In a statement released on Friday, West Yorkshire police said the visit was meant to have four stages: touring the mounted section; an informal chat with new student officers; a five-minute speech about plans to recruit 20,000 new officers; and a longer address at the National Police Air Service (NPAS) base at the same site, without any officers present.

The chief constable, John Robins, said minutes before the first speech the force was told that the NPAS visit had been cancelled. He said: “I was therefore disappointed to see my police officers as a backdrop to the part of the speech that was not related to recruitment. I repeat that I am pleased that we were chosen as the focal point of the national recruitment campaign launch, but the good news of extra officers was overshadowed by the media coverage of other events.

Play Video 0:25 Jo Johnson praises PM's 'amazing one-nation domestic agenda' after resignation – video

“It was the understanding of West Yorkshire police that any involvement of our officers was solely about police officer recruitment. We had no prior knowledge that the speech would be broadened to other issues until it was delivered.”

Johnson’s speech was delayed by almost an hour, with officers made to wait standing up in the sun. Near the end of the Johnson’s sometimes rambling speech, an officer behind him had to sit down after feeling faint.

The shadow policing minister, Louise Haigh, later wrote to the Cabinet Office asking why the police were used for a highly political speech.

Haigh wrote: “Not only was the precious time of these officers wasted, either by diverting them from their duties or depriving them of much-needed rest, but through no fault of their own they were put in an intolerable position by the nakedly party-political direction the event took.”

She added: “Police regulations are clear that they are strictly non-party political and cannot give the perception of such.”

Barry Sheerman (@BarrySheerman) Boris Johnson copies his mentor & hero Donald Trump by making highly political speech using young police officers as a backdrop!

The Police Federation of England and Wales also criticised the event. “I am surprised that police officers were used as a backdrop for a political speech in this way,” said John Apter, the organisation’s national chair. “I am sure that on reflection all concerned will agree that this was the wrong decision and it is disappointing that the focus has been taken away from the recruitment of 20,000 officers. This is what we should be talking about – this is what is important.”

A Downing Street spokeswoman said: “The PM’s long-planned visit was highlighting a national recruitment campaign for 20,000 new officers, which has been welcomed across the police service. It gave the PM the opportunity to see first-hand the outstanding training which new recruits receive, and to meet those who have committed their lives to keeping us safe.”

The West Yorkshire police and crime commissioner, Mark Burns-Williamson, called on Johnson to apologise. “To use police officers as the backdrop to what became a political speech was inappropriate and they shouldn’t have been put in that position. It clearly turned into a rant about Brexit, the opposition and a potential general election. There’s no way that police officers should have formed the backdrop to a speech of that nature.”

Labour’s Yvette Cooper, the chair of the home affairs select committee, said: “For Boris Johnson to make so many police stop their training and work to be part of his political stunt is an abuse of power. Police officers and trainees are overstretched and need to be able to get on with their job, not have to waste time listening to Boris Johnson’s political press conference.”