you was robbed!
Note 1 to Rule 24-2 b. states "If a ball is in a hazard (including a lateral water hazard), the player may not take relief from interference by an immovable obstruction. The player must play the ball as it lies or proceed under Rule 26-1." Rule 26-1 pertains to water hazards and would require a penalty of one stroke be added for any relief taken.