This is trivial. If you interview a person for Junior SW Engineer, and after a round of interviews decide that they have the expertise to be your DevOps lead engineer, just hire them as DevOps lead. The law doesn't stipulate which for which roles you can/cannot hire a person, only that you must report their compensation and the role they ultimately do. (Similarly, when they change jobs in the company, that would impact your reporting going forward.)