The German rider took his first victory ahead of Bezzechi and Alonso Lopez who was sanctioned, leaving Ramirez to complete the podium