This summary is not the rule. The rule text controls.
If your case involves a law from another country, you need to tell the other side and the court about it ahead of time. You can do this through a written filing, like a pleading or motion. This gives everyone fair warning that foreign law will be part of the case.
When the judge needs to figure out what that foreign law actually says or means, the judge has a lot of flexibility. The judge can look at almost any helpful information, including expert testimony, documents, or other sources. This is true even if that information wouldn't normally be allowed under the regular evidence rules. The goal is to let the judge get a full and accurate picture of the foreign law.
Once the judge decides what the foreign law means, that decision is treated like any other legal ruling made by a judge. This matters because it affects how the decision can be challenged later. Legal rulings are reviewed differently than factual findings if someone appeals the case.