Judge gives gypsies on illegal camp a year's grace