customary international law is one of the main sources of international law. Customary law should be distinguished form habits. In this lecture the differences are explained using examples from ICJ.
https://www.youtube.com/watch?v=6M14BDsAHfE&list=PLgt-VQL0ix1pmemhilQDnmFAPnsqys_02&index=3