The abolition of checks on persons at internal borders shall not affect either Article 22 below or the exercise of police powers by the competent authorities under each Contracting Party's legislation throughout its territory, or the obligations to hold, carry and produce permits and documents provided for in its legislation.