PHILADELPHIA (AP) — A judge says the city of Philadelphia must pay nearly $900,000 after a failed effort to evict the Boy Scouts of America.The order Wednesday is the latest twist in a decade-long dispute over the Boy Scouts of America's ban on gays. The two sides have sought a compromise that would let the Boy Scouts stay in the rent-free, city-owned building without violating the national scout policy.However, a tentative deal struck since the city lost a court case last year has fallen apart. So a federal judge says the city owes the scouts $877,000 in legal fees.Mayor Michael Nutter tells the Philadelphia Daily News the city is still exploring its options.He notes that City Council passed on a deal to sell the scouts the building for $500,000.