Judges generally sought an opinion from a mufti with higher scholarly authority than themselves for difficult cases or potentially controversial verdicts. Fatwas were routinely upheld in courts, and if a fatwa was disregarded, it was usually because another fatwa supporting a different position was judged to be more convincing. If a party in a dispute was not able to obtain a fatwa supporting their position, they would be unlikely to pursue their case in court, opting for informal mediation instead, or abandoning their claim altogether. Sometimes muftis could be petitioned for a fatwa relating to a court judgement that has already been passed, acting as an informal appeals process, but the extent of this practice and its mechanism varied across history. While in most of the Islamic world judges were not required to consult muftis by any political authority, in Muslim Spain this practice was mandatory, so that a judicial decision was considered invalid without prior approval by a legal specialist.