All railroad corporations shall have all peculiar rights and privileges granted to them respectively by their charters or any special law, not inconsistent with these statutes.