I did that once - but it was on a ball that bounced from a court next to mine - onto my court stopping our game - about 2 feet between sidelines. I saw ball coming and when ball touched floor (on our court) I whistled, pointed, and said "Red".
No one got mad that it wasn't my line.