In a recent case concerning view protection , a court in San Luis Obispo County in California ruled that the state 's Coastal Commission could restrict development to safeguard coastal views for the public .