Working as a nanny inside someone’s home doesn’t mean they have a reasonable expectation of privacy, the Pennsylvania Supreme Court has ruled in a case over whether surreptitiously taken footage from a so-called “nanny cam” can be admitted at trial in a child abuse case.

The high court ruled 5-2 that footage from a camera that a homeowner had hidden in his children’s sleeping area, which allegedly captured video and audio of the defendant, Beth Ann Mason, striking one of the children, should be admissible in the criminal proceedings. The decision overruled a holding by the Superior Court, which had barred the audio from being used at trial after determining Mason had a justifiable expectation of privacy while in the bedroom.