So let me get this straight, rather than miss the train, you held the doors so that you could get on.

Having been caught doing this the guard told you to get off presumably because that is against...