what is a certificate of lawfulness