Judicial review allows Welsh farmers to challenge