The World Rally Championship will return to Great Britain in 2027 following the announcement of a three-year deal to bring rallying’s top tier to Scotland.