Section 342 of Penal Code CAP 63: Penalties for damage, etc., to railway works
Any person who—
(a) wilfully damages, injures or obstructs any work, way, road, building, turnstile, gate, toll bar, fence, weighing machine, engine, tender, carriage, wagon, truck, material or plant, acquired for or belonging to any railway works; or
pulls up, removes, defaces or destroys, or in any way interferes with, any poles, stakes, pegs, lines, marks, or anything driven or stones or buildings, or any other material, belonging to any railway works; or
(c) commits any nuisance or trespass in or upon any land, buildings or premises, acquired for or belonging to any railway works; or
(d) wilfully molests, hinders or obstructs the officer in charge of any railway or his assistants or workmen in the execution of any work done or to be done in reference to the construction or maintenance of any such railway,
is guilty of a misdemeanour and is liable to imprisonment for three months, or to a fine of one thousand two hundred shillings.
Check the current authoritative text and amendment history before relying on this provision.