Licensing and the law