An occupation is generally a result of direct warfare between two states. However, in the case of Crimea, there was no open military conflict, yet still a part of the territory of an independent Ukraine was occupied.
The Peninsula of Fear: Chronicle of Occupation and Violation of Human Rights in Crimea Page 5 Page 7