California will fight court ruling on medical marijuana