A council has won an appeal against landowners who stationed mobile homes on land on the outskirts of a village.