A UK police force has warned drivers may lose their licence and be issued a £1,000 fine if they fail a mandatory roadside test to check their eyesight.