Railways to impose fine