duty of railway in reserved compartment