(2)If any vehicle registered under this section ceases to be the property of any diplomatic officer or consular officer, the certificate of registration issued under this section shall also cease to be effective, and the provisions of section 23 shall thereupon apply.