You used to be able to somewhat cross the line. Nowadays, you can't come anywhere near the line. You used to be able to somewhat push the envelope. Nowadays you'd better pull back the envelope.
“can we contact your previous employer to find out what you were like on the job?” sure as long as I can contact your previous employee to find out what you did to drive them away