Elementary, my dear… Horvath?

TVLine has learned exclusively that Lucy Liu, star of CBS’ Sherlock Holmes-themed procedural, will appear in a Season 5 episode of HBO’s Girls.

But there’s a twist! We’re told that Liu — whose show films at Long Island City’s Silvercup Studios, as does Girls — won’t be playing herself, but rather a version of herself.

UPDATE: An earlier version of this story included Liu’s Elementary co-star Jonny Lee Miller as an additional guest star. We’re now told it’s likely that Liu will appear solo.

HBO declined comment on this casting news, but you can feel free to drop your own comment below.