User role settings when synced

Is there a possibility of having the role that is given to each user on the sub site can be set in the plugin on the sub site? I don't have the roles set exactly the same way on both sites so I'm afraid that they won't get the correct role. What happens if the role the user on the master site has doesn't exist on the sub site? is the role created?