The LIRR is regularly served with "STOP WORK ORDERS" that get posted on its buildings from time to time when construction woek is done without the permission or permits of local municipalities. Many of the villages and towns have building department employees that believe the railroad must submit plans and seek approvals for work conducted in their villages.
The State of New York requires municipal subdivisions or jurisdictions to issue a "building permit" before certain construction or demolition is performed.
Of course the railroad property is governed by the NYS Railway Law and is exempt from such oversight by local villages. The LIRR issues itself its own "Building Permits" to comply with these laws. Railroads are also exempt from much other heavy industrial oversight such as OSHA regulation, though the LIRR considers these laws as guidelines and makes attempts to comply where practicable.