City loses SCA appeal in land invasions case