instruction: Is the next sentence syntactically and semantically acceptable?

This girl in the red coat will put a picture of Bill it on your desk before tomorrow.

response: unacceptable

instruction: Is the next sentence syntactically and semantically acceptable?

John loves Bill.

response: acceptable

instruction: Is the next sentence syntactically and semantically acceptable?

Mary wrote a letter to himself last year.

response: unacceptable

instruction: Is the next sentence syntactically and semantically acceptable?

the girls likes themselves.

response:
acceptable