A federal appeals court has reversed a ruling that three Pennsylvania legislators were not entitled to immunity from a suit that alleged the trio disrupted the sale of state land to a group intending to use it for a Muslim boarding school.