If Lt. Commander Data is considered "A Person" for the sake of Legal Person-hood.
The only ruling was that he wasn’t the property of Starfleet.
What about all the times that Geordi inspected Data's Positronic Brain / mind / thoughts / memories?
Does he have Data’s permission? If so, then that is between the two.