Do courts work? Are they effective in enforcing International Laws and Customs?

Do courts work? Are they effective in enforcing International Laws and Customs?