Actually, I was thinking of the other side. I.E, the wagon would be scripted to accept passengers or not depending on a given set of criteria. Even if there were people on the platform, if say the wagon was out of service or destined for another station, if might refuse to load.