Two of those are in another country, including one that's a gender-neutral bathroom issue where anyone can use the facilities, not a transgender issue, and the other two were committing crimes with significantly higher criminal penalties and would not likely be undeterred by "wrong bathroom" laws.
One of those two had a beard. It seems unlikely he was pretending to be a woman to be in there.
So, yes. Once a person who is not actually transgender appears to have pretended to be a woman to commit a serious crime. Do you think a law making it illegal to be in that bathroom would have deterred him? How high would the penalty need to be?
And is that crime worth discriminating against all of the transgender people in this country?