Even if it is noticed, it is rare for such an attempt to result in a disqualification (see below), and instead it simply results in nullification of the pin attempt, so the heel wrestler rarely has anything to lose for trying it, anyway.
What happens with an illegal pinning move when it is seen by a referee? 
results in nullification of the pin attempt,