Aaaah! You nailed it. Stupid me was under the impression that signing was somehow linked to broadcasting the message/signed message.
But it is not the case, so my questions were not relevant indeed.
Thank you for making it clear.
I guess I will try this API then:
https://bitcoin.org/en/developer-reference#signmessagewithprivkey