What about predator prevention?
We mostly have eagles during the day and they can all hide under it. At night gate automatically closes and no predator enters. Although foxes could completely just make a hole in the plastic, they don't.