Would a linguist find the following sentence to be a valid English sentence grammatically?

Every woman standing under that tree, whoever she may be, is Mary's friend.
 -unacceptable -acceptable
unacceptable