I really, really don't think you can.
Goose brains are tiny, and they seem to use all of it on honking, eating, watching for threats and getting scared.
The not going through the gate might work if you can somehow get them to percieve the gate as a very dangerous threat. But if you succeed...