Questão jurídica principal
Whether a claim may be upheld on a legal basis not invoked by the plaintiff when the relevant facts were pleaded.
Decisão extraída
Yes. The court must apply the law ex officio and may qualify the facts under a different legal basis if all legally relevant facts were introduced and the disposition principle is respected.
Fundamentação extraída
A party suffers no detriment from citing the wrong legal rule if the asserted facts support the claim in result. The decisive point is that the relevant facts, not the legal characterization, were brought into the proceedings.