Really does depend doesn’t it? Personally I’d imagine if this hypothetical character looked like Lily but still had the Potter name that his hate for James and love for Lily would equal out to the point where Snape would treat her like any other student. Which, frankly, is still pretty bad but nowhere near as bad as how Harry was treated.