French farmer wins top court okay for aiding migrants