In the event the driver or the owner of a vehicle of a type subject to registration under the laws of this State, involved in an accident within this State, has no license or registration in this State, such driver shall not be allowed a license nor shall such owner be allowed to register any vehicle in this State until he has complied with the requirements of this article to the same extent that would be necessary if, at the time of the accident, he had held a license or been the owner of a vehicle registered in this State.