enter command after you start the server. It will stay ranked and in Hardcore.
This is correct. If you try and do it through the CP, it will not work as it is locked. But it will let you change it via RCON command.
I tested it on my server, and it is back to hardcore (with HUD!?) and it is listed as hardcore in Battlelog.