There is no guarantee that removing and adding the attribute will make it last.

Could you explain why it needs to be last? What exactly gets broken?