law: Railways Act, 1989
  14. Temporary entry upon land to remove obstruction, to
  
  repair or to prevent accident. 
  (1) Where in the opinion of a railway administration- 
  (a) there is imminent danger that any tree,
  
  post or structure may fall on the railway so as to obstruct the movement of
  
  rolling stock; or
  (b) any tree, post structure or light
  
  obstructs the view of any signal provided for movement of rolling stock; or
  (c) any tree, post or structure obstructs any
  
  telephone or telegraph line maintained by it, it may take such steps as
  
  may be necessary to avert such danger or remove such obstruction and submit a
  
  report thereof to the Central Government in such manner and within such time as
  
  may be prescribed.
  (2) Where in the opinion of a railway administration- 
  (a) a slip or accident has occurred; or
  (b) there is apprehension of any slip or
  
  accident to any cutting, embankment or other work on a railway, it may enter
  
  upon any lands adjoining the railway and do all such works as may be necessary
  
  for the purpose of repairing or preventing such slip or accident and submit a
  
  report thereof to the Central Government in such manner and within such time as
  
  may be prescribed.
  (3) The Central Government may, after considering the report
  
  under sub-section (1) or sub-section (2), in the interest of public safety, by
  
  order, direct the railway administration that further action under sub-section
  
  (1) or sub-section (2) shall be stopped or the same shall be subject to such
  
  conditions as may be specified in that order.