Stupid crap like this has happened before.
Such as during the Turkish Invasion of Cyprus in July 1974, when the Turkish Air Force mistook the Turkish destroyer KOCATEPE for a Greek ship and sank her, as well as damaging two other Turkish destroyers.
Jack