The BBC has been accused of rewriting history in a CBeebies programme which appears to teach children that Gibraltar is part of Spain.

In the episode of Go Jetters, broadcast in July, animated explorers Xuli, Kyan, Lars and Foz learn about the migration route of birds from Europe to Africa.

A voiceover says the animation characters are heading for the Strait of Gibraltar, which borders both Spain and Gibraltar, to watch a flock of storks take to the skies.

But later in the programme Lars says they are flying from "Spain to Africa", making no distinction between Spain and Gibraltar.

Friends of the British Overseas Territories, which promotes their culture and history, has criticised the BBC for "failing to educate" the next generation.

Ben Brickley, a spokesman for the charity, said: "We are disappointed to hear that the BBC, which is a public service British broadcaster, has failed to identify the Rock as an integral part of our British family.

"The BBC has let its guard down and failed in educating the next generation about our far flung, diverse and fascinating Overseas Territories."

The BBC declined to comment when contacted by The Telegraph.