Basically it is not a safe practice.  It requires one to enter between the rail cars or step into the space behind the car in the case of a single car or the end of a string.  Releasing the hand brake from that position exposes the person releasing the brake to being struck by the rail car should it move upon the hand brake being released.