§1. No custom which is contrary to divine law can obtain the force of law.
§2. A custom contrary to or beyond canon law (praeter ius canonicum) cannot obtain the force of law unless it is reasonable; a custom which is expressly reprobated in the law, however, is not reasonable.
Source: Code of Canon Law (Vatican.va)