I tried translating it, but maybe someone can make it sound better?
It looks good as is. You could say "Did you know it would end up like this?" for a more literal translation, but imo, your translations portrays the joke much better
Oh dear, Admiral
What's the matter?Like this...Just kiddingFor things you absolutely don't want someone to take from youSomeone took my pudding from the refrigerator...It's a good idea to attach some kind of mark to itI... may have.Ho... Houshou-san...
Did you somehow plan this from the start?