Solicitor-general says the matter was not taken in an adversarial manner, Railways was bound to follow the law ...