I don't think it is illegal per se, but not in her best interests. If she sets a precedent of allowing him to see her whenever it is convenient for him, she will be setting herself up for more complications with him. If she gives an inch he will try to take 2 miles....that seems to be who he is.
"You can't stop the waves, but you can learn to surf." Jon Kabat-Zinn