A divine warning sets a clear and strict condition for the future of the royal palace, backed by an oath directly from God. The meaning behind this message is straightforward and self-evident [רד״ק].
The direct consequence of failing to listen to this warning is total ruin. The palace will fall into a state of complete abandonment, leaving absolutely no one left to enter its gates [מצודת דוד].