Access was in the law books before his purchase and claiming the 1848 Treaty of Guadalupe Hidalgo as being present before the 1972 Coastal Zone law is ridiculous in the extreme. There were many other things legal in 1848 that aren't today for very good reasons.
"The judge could have fined Khosla $15,000 a day for every day the gates were shut,
but she waived all fines."
Why?