But just about everybody likes UCP so just about every L/C issued in intl transaction says it is subject to UCP.
By inserting that into L/C, parties have exercised their party autonomy to be bound by what ICC wrote down on piece of paper (i.e. set of rules written by private people, the UCP).
The vast majority of letter of credit law in most jurisdictions is permissive.